@vitessce/biomarker-select 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.
- package/dist/index.js +92 -86
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -104,9 +104,11 @@ const CoordinationType = {
|
|
|
104
104
|
OBS_SET_HIGHLIGHT: "obsSetHighlight",
|
|
105
105
|
OBS_SET_EXPANSION: "obsSetExpansion",
|
|
106
106
|
OBS_SET_COLOR: "obsSetColor",
|
|
107
|
+
FEATURE_COLOR: "featureColor",
|
|
107
108
|
FEATURE_HIGHLIGHT: "featureHighlight",
|
|
108
109
|
FEATURE_SELECTION: "featureSelection",
|
|
109
110
|
FEATURE_FILTER: "featureFilter",
|
|
111
|
+
FEATURE_FILTER_MODE: "featureFilterMode",
|
|
110
112
|
FEATURE_VALUE_COLORMAP: "featureValueColormap",
|
|
111
113
|
FEATURE_VALUE_TRANSFORM: "featureValueTransform",
|
|
112
114
|
FEATURE_VALUE_COLORMAP_RANGE: "featureValueColormapRange",
|
|
@@ -414,6 +416,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
414
416
|
CoordinationType.OBS_SET_FILTER,
|
|
415
417
|
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
416
418
|
CoordinationType.OBS_SET_COLOR,
|
|
419
|
+
CoordinationType.FEATURE_COLOR,
|
|
420
|
+
CoordinationType.FEATURE_FILTER_MODE,
|
|
417
421
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
418
422
|
CoordinationType.FEATURE_SELECTION,
|
|
419
423
|
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
@@ -628,6 +632,8 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
628
632
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
629
633
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
630
634
|
CoordinationType.OBS_COLOR_ENCODING,
|
|
635
|
+
CoordinationType.FEATURE_COLOR,
|
|
636
|
+
CoordinationType.FEATURE_FILTER_MODE,
|
|
631
637
|
CoordinationType.FEATURE_VALUE_COLORMAP,
|
|
632
638
|
CoordinationType.FEATURE_VALUE_COLORMAP_RANGE,
|
|
633
639
|
CoordinationType.FEATURE_SELECTION,
|
|
@@ -23284,6 +23290,90 @@ ListItemText.propTypes = {
|
|
|
23284
23290
|
*/
|
|
23285
23291
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
23286
23292
|
};
|
|
23293
|
+
function getListItemIconUtilityClass(slot) {
|
|
23294
|
+
return generateUtilityClass("MuiListItemIcon", slot);
|
|
23295
|
+
}
|
|
23296
|
+
const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
23297
|
+
const useUtilityClasses$16 = (ownerState) => {
|
|
23298
|
+
const {
|
|
23299
|
+
alignItems,
|
|
23300
|
+
classes: classes2
|
|
23301
|
+
} = ownerState;
|
|
23302
|
+
const slots = {
|
|
23303
|
+
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
23304
|
+
};
|
|
23305
|
+
return composeClasses(slots, getListItemIconUtilityClass, classes2);
|
|
23306
|
+
};
|
|
23307
|
+
const ListItemIconRoot = styled("div", {
|
|
23308
|
+
name: "MuiListItemIcon",
|
|
23309
|
+
slot: "Root",
|
|
23310
|
+
overridesResolver: (props, styles2) => {
|
|
23311
|
+
const {
|
|
23312
|
+
ownerState
|
|
23313
|
+
} = props;
|
|
23314
|
+
return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
|
|
23315
|
+
}
|
|
23316
|
+
})(memoTheme(({
|
|
23317
|
+
theme
|
|
23318
|
+
}) => ({
|
|
23319
|
+
minWidth: 56,
|
|
23320
|
+
color: (theme.vars || theme).palette.action.active,
|
|
23321
|
+
flexShrink: 0,
|
|
23322
|
+
display: "inline-flex",
|
|
23323
|
+
variants: [{
|
|
23324
|
+
props: {
|
|
23325
|
+
alignItems: "flex-start"
|
|
23326
|
+
},
|
|
23327
|
+
style: {
|
|
23328
|
+
marginTop: 8
|
|
23329
|
+
}
|
|
23330
|
+
}]
|
|
23331
|
+
})));
|
|
23332
|
+
const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref) {
|
|
23333
|
+
const props = useDefaultProps({
|
|
23334
|
+
props: inProps,
|
|
23335
|
+
name: "MuiListItemIcon"
|
|
23336
|
+
});
|
|
23337
|
+
const {
|
|
23338
|
+
className,
|
|
23339
|
+
...other
|
|
23340
|
+
} = props;
|
|
23341
|
+
const context = React.useContext(ListContext);
|
|
23342
|
+
const ownerState = {
|
|
23343
|
+
...props,
|
|
23344
|
+
alignItems: context.alignItems
|
|
23345
|
+
};
|
|
23346
|
+
const classes2 = useUtilityClasses$16(ownerState);
|
|
23347
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
|
|
23348
|
+
className: clsx$1(classes2.root, className),
|
|
23349
|
+
ownerState,
|
|
23350
|
+
ref,
|
|
23351
|
+
...other
|
|
23352
|
+
});
|
|
23353
|
+
});
|
|
23354
|
+
ListItemIcon.propTypes = {
|
|
23355
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
23356
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
23357
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
23358
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
23359
|
+
/**
|
|
23360
|
+
* The content of the component, normally `Icon`, `SvgIcon`,
|
|
23361
|
+
* or a `@mui/icons-material` SVG icon element.
|
|
23362
|
+
*/
|
|
23363
|
+
children: PropTypes.node,
|
|
23364
|
+
/**
|
|
23365
|
+
* Override or extend the styles applied to the component.
|
|
23366
|
+
*/
|
|
23367
|
+
classes: PropTypes.object,
|
|
23368
|
+
/**
|
|
23369
|
+
* @ignore
|
|
23370
|
+
*/
|
|
23371
|
+
className: PropTypes.string,
|
|
23372
|
+
/**
|
|
23373
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23374
|
+
*/
|
|
23375
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
23376
|
+
};
|
|
23287
23377
|
function getScrollbarSize$1(win = window) {
|
|
23288
23378
|
const documentWidth = win.document.documentElement.clientWidth;
|
|
23289
23379
|
return win.innerWidth - documentWidth;
|
|
@@ -23535,7 +23625,7 @@ function getDividerUtilityClass(slot) {
|
|
|
23535
23625
|
return generateUtilityClass("MuiDivider", slot);
|
|
23536
23626
|
}
|
|
23537
23627
|
const dividerClasses = generateUtilityClasses("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle", "flexItem", "light", "vertical", "withChildren", "withChildrenVertical", "textAlignRight", "textAlignLeft", "wrapper", "wrapperVertical"]);
|
|
23538
|
-
const useUtilityClasses$
|
|
23628
|
+
const useUtilityClasses$15 = (ownerState) => {
|
|
23539
23629
|
const {
|
|
23540
23630
|
absolute,
|
|
23541
23631
|
children,
|
|
@@ -23749,7 +23839,7 @@ const Divider$1 = /* @__PURE__ */ React.forwardRef(function Divider2(inProps, re
|
|
|
23749
23839
|
textAlign,
|
|
23750
23840
|
variant
|
|
23751
23841
|
};
|
|
23752
|
-
const classes2 = useUtilityClasses$
|
|
23842
|
+
const classes2 = useUtilityClasses$15(ownerState);
|
|
23753
23843
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DividerRoot, {
|
|
23754
23844
|
as: component,
|
|
23755
23845
|
className: clsx$1(classes2.root, className),
|
|
@@ -23831,90 +23921,6 @@ Divider$1.propTypes = {
|
|
|
23831
23921
|
*/
|
|
23832
23922
|
variant: PropTypes.oneOfType([PropTypes.oneOf(["fullWidth", "inset", "middle"]), PropTypes.string])
|
|
23833
23923
|
};
|
|
23834
|
-
function getListItemIconUtilityClass(slot) {
|
|
23835
|
-
return generateUtilityClass("MuiListItemIcon", slot);
|
|
23836
|
-
}
|
|
23837
|
-
const listItemIconClasses = generateUtilityClasses("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
|
|
23838
|
-
const useUtilityClasses$15 = (ownerState) => {
|
|
23839
|
-
const {
|
|
23840
|
-
alignItems,
|
|
23841
|
-
classes: classes2
|
|
23842
|
-
} = ownerState;
|
|
23843
|
-
const slots = {
|
|
23844
|
-
root: ["root", alignItems === "flex-start" && "alignItemsFlexStart"]
|
|
23845
|
-
};
|
|
23846
|
-
return composeClasses(slots, getListItemIconUtilityClass, classes2);
|
|
23847
|
-
};
|
|
23848
|
-
const ListItemIconRoot = styled("div", {
|
|
23849
|
-
name: "MuiListItemIcon",
|
|
23850
|
-
slot: "Root",
|
|
23851
|
-
overridesResolver: (props, styles2) => {
|
|
23852
|
-
const {
|
|
23853
|
-
ownerState
|
|
23854
|
-
} = props;
|
|
23855
|
-
return [styles2.root, ownerState.alignItems === "flex-start" && styles2.alignItemsFlexStart];
|
|
23856
|
-
}
|
|
23857
|
-
})(memoTheme(({
|
|
23858
|
-
theme
|
|
23859
|
-
}) => ({
|
|
23860
|
-
minWidth: 56,
|
|
23861
|
-
color: (theme.vars || theme).palette.action.active,
|
|
23862
|
-
flexShrink: 0,
|
|
23863
|
-
display: "inline-flex",
|
|
23864
|
-
variants: [{
|
|
23865
|
-
props: {
|
|
23866
|
-
alignItems: "flex-start"
|
|
23867
|
-
},
|
|
23868
|
-
style: {
|
|
23869
|
-
marginTop: 8
|
|
23870
|
-
}
|
|
23871
|
-
}]
|
|
23872
|
-
})));
|
|
23873
|
-
const ListItemIcon = /* @__PURE__ */ React.forwardRef(function ListItemIcon2(inProps, ref) {
|
|
23874
|
-
const props = useDefaultProps({
|
|
23875
|
-
props: inProps,
|
|
23876
|
-
name: "MuiListItemIcon"
|
|
23877
|
-
});
|
|
23878
|
-
const {
|
|
23879
|
-
className,
|
|
23880
|
-
...other
|
|
23881
|
-
} = props;
|
|
23882
|
-
const context = React.useContext(ListContext);
|
|
23883
|
-
const ownerState = {
|
|
23884
|
-
...props,
|
|
23885
|
-
alignItems: context.alignItems
|
|
23886
|
-
};
|
|
23887
|
-
const classes2 = useUtilityClasses$15(ownerState);
|
|
23888
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIconRoot, {
|
|
23889
|
-
className: clsx$1(classes2.root, className),
|
|
23890
|
-
ownerState,
|
|
23891
|
-
ref,
|
|
23892
|
-
...other
|
|
23893
|
-
});
|
|
23894
|
-
});
|
|
23895
|
-
ListItemIcon.propTypes = {
|
|
23896
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
23897
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
23898
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
23899
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
23900
|
-
/**
|
|
23901
|
-
* The content of the component, normally `Icon`, `SvgIcon`,
|
|
23902
|
-
* or a `@mui/icons-material` SVG icon element.
|
|
23903
|
-
*/
|
|
23904
|
-
children: PropTypes.node,
|
|
23905
|
-
/**
|
|
23906
|
-
* Override or extend the styles applied to the component.
|
|
23907
|
-
*/
|
|
23908
|
-
classes: PropTypes.object,
|
|
23909
|
-
/**
|
|
23910
|
-
* @ignore
|
|
23911
|
-
*/
|
|
23912
|
-
className: PropTypes.string,
|
|
23913
|
-
/**
|
|
23914
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23915
|
-
*/
|
|
23916
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
23917
|
-
};
|
|
23918
23924
|
function getMenuItemUtilityClass(slot) {
|
|
23919
23925
|
return generateUtilityClass("MuiMenuItem", slot);
|
|
23920
23926
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/biomarker-select",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"fuse.js": "^7.0.0",
|
|
22
22
|
"d3-dsv": "^1.1.1",
|
|
23
23
|
"clsx": "^1.1.1",
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/types": "3.
|
|
24
|
+
"@vitessce/styles": "3.9.0",
|
|
25
|
+
"@vitessce/constants-internal": "3.9.0",
|
|
26
|
+
"@vitessce/vit-s": "3.9.0",
|
|
27
|
+
"@vitessce/types": "3.9.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|