@vitessce/layer-controller 3.0.0 → 3.1.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/{deflate-75511377.js → deflate-806a8813.js} +1 -1
- package/dist/{index-841a1af6.js → index-f05b8dd7.js} +474 -769
- package/dist/index.js +1 -1
- package/dist/{jpeg-6023316d.js → jpeg-ad5bae1d.js} +1 -1
- package/dist/{lerc-82182c45.js → lerc-588ff773.js} +1 -1
- package/dist/{lzw-2ab01db2.js → lzw-8827a384.js} +1 -1
- package/dist/{packbits-2633f360.js → packbits-88aef591.js} +1 -1
- package/dist/{raw-51e455c7.js → raw-86577f38.js} +1 -1
- package/dist/{webimage-bbb56d18.js → webimage-c9cb4e30.js} +1 -1
- package/dist-tsc/ColorPalette.js +2 -2
- package/dist-tsc/LayerController.d.ts.map +1 -1
- package/dist-tsc/LayerController.js +13 -5
- package/dist-tsc/LayerControllerSubscriber.js +3 -3
- package/dist-tsc/LayerOptions.d.ts.map +1 -1
- package/dist-tsc/LayerOptions.js +3 -2
- package/dist-tsc/RasterChannelController.test.js +1 -0
- package/dist-tsc/VectorLayerController.js +1 -1
- package/dist-tsc/styles.d.ts +5 -73
- package/dist-tsc/styles.d.ts.map +1 -1
- package/dist-tsc/styles.js +14 -37
- package/package.json +8 -8
- package/src/ColorPalette.js +2 -2
- package/src/LayerController.js +28 -14
- package/src/LayerControllerSubscriber.js +3 -3
- package/src/LayerOptions.js +4 -2
- package/src/RasterChannelController.test.js +1 -0
- package/src/VectorLayerController.js +1 -1
- package/src/styles.js +14 -47
package/dist/index.js
CHANGED
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-f05b8dd7.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
package/dist-tsc/ColorPalette.js
CHANGED
|
@@ -4,7 +4,7 @@ import { IconButton, makeStyles } from '@material-ui/core';
|
|
|
4
4
|
import { Lens as LensIcon } from '@material-ui/icons';
|
|
5
5
|
import { VIEWER_PALETTE } from '@vitessce/utils';
|
|
6
6
|
const useStyles = makeStyles(theme => ({
|
|
7
|
-
|
|
7
|
+
paletteContainer: {
|
|
8
8
|
width: '70px',
|
|
9
9
|
height: '40px',
|
|
10
10
|
display: 'flex',
|
|
@@ -25,6 +25,6 @@ const useStyles = makeStyles(theme => ({
|
|
|
25
25
|
}));
|
|
26
26
|
const ColorPalette = ({ handleChange }) => {
|
|
27
27
|
const classes = useStyles();
|
|
28
|
-
return (_jsx("div", { className: classes.
|
|
28
|
+
return (_jsx("div", { className: classes.paletteContainer, "aria-label": "color-swatch", children: VIEWER_PALETTE.map(color => (_jsx(IconButton, { className: classes.button, onClick: () => handleChange(color), children: _jsx(LensIcon, { fontSize: "small", style: { color: `rgb(${color})` }, className: classes.icon }) }, color))) }));
|
|
29
29
|
};
|
|
30
30
|
export default ColorPalette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerController.d.ts","sourceRoot":"","sources":["../src/LayerController.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayerController.d.ts","sourceRoot":"","sources":["../src/LayerController.js"],"names":[],"mappings":"AA2EA;;;;;;;GAOG;AACH,iEA8gBC"}
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
|
|
|
2
2
|
import React, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { viv } from '@vitessce/gl';
|
|
4
4
|
import { GLOBAL_LABELS, getSourceFromLoader, isRgb, } from '@vitessce/spatial-utils';
|
|
5
|
-
import { Grid, Button, Slider, Tabs, Tab, Accordion } from '@material-ui/core';
|
|
5
|
+
import { Grid, Button, Slider, Tabs, Tab, InputLabel, Accordion, AccordionDetails, AccordionSummary, } from '@material-ui/core';
|
|
6
6
|
import { Add as AddIcon, ExpandMore as ExpandMoreIcon, Visibility as VisibilityIcon, VisibilityOff as VisibilityOffIcon, } from '@material-ui/icons';
|
|
7
7
|
import { canLoadResolution } from '@vitessce/utils';
|
|
8
8
|
import LayerOptions from './LayerOptions.js';
|
|
9
9
|
import VolumeOptions from './VolumeOptions.js';
|
|
10
|
-
import { useControllerSectionStyles,
|
|
10
|
+
import { useControllerSectionStyles, useInputLabelStyles, useOverflowEllipsisGridStyles, useAccordionStyles, } from './styles.js';
|
|
11
11
|
import { getMultiSelectionStats } from './utils.js';
|
|
12
12
|
import { DOMAINS } from './constants.js';
|
|
13
13
|
function TabPanel(props) {
|
|
@@ -262,6 +262,9 @@ export default function LayerController(props) {
|
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
264
|
const controllerSectionClasses = useControllerSectionStyles();
|
|
265
|
+
const accordionClasses = useAccordionStyles();
|
|
266
|
+
const inputLabelClasses = useInputLabelStyles();
|
|
267
|
+
const overflowEllipsisGridClasses = useOverflowEllipsisGridStyles();
|
|
265
268
|
const { visible } = layer;
|
|
266
269
|
const visibleSetting = typeof visible === 'boolean' ? visible : true;
|
|
267
270
|
const Visibility = visibleSetting ? VisibilityIcon : VisibilityOffIcon;
|
|
@@ -276,8 +279,13 @@ export default function LayerController(props) {
|
|
|
276
279
|
globalControlLabels: labels.filter(label => GLOBAL_LABELS.includes(label)), globalLabelValues: globalLabelValues, handleOpacityChange: setOpacity, handleColormapChange: setColormap, handleGlobalChannelsSelectionChange: handleGlobalChannelsSelectionChange, handleTransparentColorChange: setTransparentColor, disableChannelsIfRgbDetected: isRgb(loader, channels) && disableChannelsIfRgbDetected, handleDomainChange: handleDomainChange, shouldShowTransparentColor: shouldShowTransparentColor, shouldShowDomain: shouldShowDomain, shouldShowColormap: shouldShowColormap, use3d: use3d, loader: loader, handleMultiPropertyChange: handleMultiPropertyChange, resolution: resolution, disable3d: disable3d, setRasterLayerCallback: setImageLayerCallback, setAreAllChannelsLoading: setAreAllChannelsLoading, setViewState: setViewState, spatialHeight: spatialHeight, spatialWidth: spatialWidth, modelMatrix: modelMatrix }), isRgb(loader, channels) && disableChannelsIfRgbDetected
|
|
277
280
|
? null
|
|
278
281
|
: channelControllers, isRgb(loader, channels) && disableChannelsIfRgbDetected ? null : (_jsx(Button, { disabled: channels.length === viv.MAX_CHANNELS, onClick: handleChannelAdd, fullWidth: true, variant: "outlined", style: buttonStyles, startIcon: _jsx(AddIcon, {}), size: "small", children: "Add Channel" }))] }));
|
|
279
|
-
return (_jsxs(Accordion, { className: controllerSectionClasses.
|
|
280
|
-
&& setIsExpanded(expanded && e?.target?.attributes?.role?.value === 'presentation'), TransitionProps: { enter: false }, expanded: !disabled && isExpanded, children: [_jsx(
|
|
282
|
+
return (_jsxs(Accordion, { className: controllerSectionClasses.layerControllerRoot, onChange: (e, expanded) => !disabled
|
|
283
|
+
&& setIsExpanded(expanded && e?.target?.attributes?.role?.value === 'presentation'), TransitionProps: { enter: false }, expanded: !disabled && isExpanded, children: [_jsx(AccordionSummary, { classes: {
|
|
284
|
+
root: accordionClasses.accordionSummaryRoot,
|
|
285
|
+
content: accordionClasses.content,
|
|
286
|
+
expanded: accordionClasses.expanded,
|
|
287
|
+
expandIcon: accordionClasses.expandIcon,
|
|
288
|
+
}, expandIcon: _jsx(ExpandMoreIcon, { role: "presentation" }), "aria-controls": `layer-${name}-controls`, children: _jsxs(Grid, { container: true, direction: "column", m: 1, justifyContent: "center", children: [_jsxs(Grid, { item: true, classes: { item: overflowEllipsisGridClasses.item }, children: [_jsx(Button, { onClick: (e) => {
|
|
281
289
|
if (!disabled) {
|
|
282
290
|
// Needed to prevent affecting the expansion panel from changing
|
|
283
291
|
e.stopPropagation();
|
|
@@ -289,7 +297,7 @@ export default function LayerController(props) {
|
|
|
289
297
|
marginBottom: 2,
|
|
290
298
|
padding: 0,
|
|
291
299
|
minWidth: 0,
|
|
292
|
-
}, children: _jsx(Visibility, {}) }), name] }), !disabled && !isExpanded && !use3d && (_jsxs(Grid, { container: true, direction: "row", alignItems: "center", justifyContent: "center", children: [_jsx(Grid, { item: true, xs: 6, children: _jsx(
|
|
300
|
+
}, children: _jsx(Visibility, {}) }), name] }), !disabled && !isExpanded && !use3d && (_jsxs(Grid, { container: true, direction: "row", alignItems: "center", justifyContent: "center", children: [_jsx(Grid, { item: true, xs: 6, children: _jsx(InputLabel, { htmlFor: `layer-${name}-opacity-closed`, classes: { root: inputLabelClasses.inputLabelRoot }, children: "Opacity:" }) }), _jsx(Grid, { item: true, xs: 6, children: _jsx(Slider, { id: `layer-${name}-opacity-closed`, value: opacity, onChange: (e, v) => setOpacity(v), valueLabelDisplay: "auto", getAriaLabel: () => 'opacity slider', min: 0, max: 1, step: 0.01, orientation: "horizontal" }) })] }))] }) }), _jsxs(AccordionDetails, { classes: { root: accordionClasses.accordionDetailsRoot }, children: [useVolumeTabs ? (_jsxs(_Fragment, { children: [_jsxs(Tabs, { value: tab, onChange: handleTabChange, "aria-label": "simple tabs example", style: { height: '24px', minHeight: '24px' }, children: [_jsx(Tab, { label: "Channels", style: {
|
|
293
301
|
fontSize: '.75rem',
|
|
294
302
|
bottom: 12,
|
|
295
303
|
width: '50%',
|
|
@@ -139,9 +139,9 @@ export function LayerControllerSubscriber(props) {
|
|
|
139
139
|
const { height: windowHeight, width: windowWidth } = useWindowDimensions();
|
|
140
140
|
// Get data from loaders using the data hooks.
|
|
141
141
|
// eslint-disable-next-line no-unused-vars
|
|
142
|
-
const [obsLocationsData, obsLocationsStatus] = useObsLocationsData(loaders, dataset,
|
|
143
|
-
const [{ obsSegmentations, obsSegmentationsType }, obsSegmentationsStatus,] = useObsSegmentationsData(loaders, dataset,
|
|
144
|
-
const [{ image }, imageStatus] = useImageData(loaders, dataset,
|
|
142
|
+
const [obsLocationsData, obsLocationsStatus] = useObsLocationsData(loaders, dataset, false, { setSpatialPointLayer: setMoleculesLayer }, { spatialPointLayer: moleculesLayer }, {});
|
|
143
|
+
const [{ obsSegmentations, obsSegmentationsType }, obsSegmentationsStatus,] = useObsSegmentationsData(loaders, dataset, false, { setSpatialSegmentationLayer: setCellsLayer }, { spatialSegmentationLayer: cellsLayer }, {});
|
|
144
|
+
const [{ image }, imageStatus] = useImageData(loaders, dataset, false, { setSpatialImageLayer: setRasterLayers }, { spatialImageLayer: rasterLayers }, {});
|
|
145
145
|
const { loaders: imageLayerLoaders, meta: imageLayerMeta } = image || {};
|
|
146
146
|
const isReady = useReady([
|
|
147
147
|
obsLocationsStatus,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerOptions.d.ts","sourceRoot":"","sources":["../src/LayerOptions.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"LayerOptions.d.ts","sourceRoot":"","sources":["../src/LayerOptions.js"],"names":[],"mappings":";AAgUA;;;;;;;;;;;;;GAaG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA4HC"}
|
package/dist-tsc/LayerOptions.js
CHANGED
|
@@ -7,7 +7,7 @@ import { viv } from '@vitessce/gl';
|
|
|
7
7
|
import { DEFAULT_RASTER_DOMAIN_TYPE } from '@vitessce/spatial-utils';
|
|
8
8
|
import { COLORMAP_OPTIONS, canLoadResolution, formatBytes, getStatsForResolution, } from '@vitessce/utils';
|
|
9
9
|
import { getBoundingCube, getMultiSelectionStats, } from './utils.js';
|
|
10
|
-
import {
|
|
10
|
+
import { useSelectionSliderStyles, useSelectStyles } from './styles.js';
|
|
11
11
|
const DOMAIN_OPTIONS = ['Full', 'Min/Max'];
|
|
12
12
|
/**
|
|
13
13
|
* Wrapper for the dropdown that selects a colormap (None, viridis, magma, etc.).
|
|
@@ -154,7 +154,8 @@ function SliderDomainSelector({ value, inputId, handleChange }) {
|
|
|
154
154
|
* @prop {function} possibleValues All available values for the field.
|
|
155
155
|
*/
|
|
156
156
|
function GlobalSelectionSlider({ field, value, handleChange, possibleValues, }) {
|
|
157
|
-
|
|
157
|
+
const classes = useSelectionSliderStyles();
|
|
158
|
+
return (_jsx(Slider, { classes: { root: classes.selectionSliderRoot, markActive: classes.markActive }, value: value,
|
|
158
159
|
// See https://github.com/hms-dbmi/viv/issues/176 for why
|
|
159
160
|
// we have the two handlers.
|
|
160
161
|
onChange: (event, newValue) => {
|
|
@@ -19,7 +19,7 @@ export default function VectorLayerController(props) {
|
|
|
19
19
|
handleLayerChange({ ...layer, visible: v });
|
|
20
20
|
}
|
|
21
21
|
const classes = useControllerSectionStyles();
|
|
22
|
-
return (_jsx(Grid, { item: true, style: { marginTop: '10px' }, children: _jsxs(Paper, { className: classes.
|
|
22
|
+
return (_jsx(Grid, { item: true, style: { marginTop: '10px' }, children: _jsxs(Paper, { className: classes.layerControllerRoot, children: [_jsx(Typography, { style: {
|
|
23
23
|
padding: '15px 8px 0px 8px',
|
|
24
24
|
marginBottom: '-5px',
|
|
25
25
|
}, children: label }), _jsxs(Grid, { container: true, direction: "row", justifyContent: "space-between", children: [_jsx(Grid, { item: true, xs: 2, children: _jsx(Checkbox, { color: "primary", checked: isOn, onChange: (e, v) => handleCheckBoxChange(v) }) }), _jsx(Grid, { item: true, xs: 9, style: { paddingRight: '8px' }, children: _jsx(Slider, { value: slider, min: 0, max: 1, step: 0.001, onChange: (e, v) => handleSliderChange(v), style: { marginTop: '7px' }, orientation: "horizontal" }) })] })] }) }));
|
package/dist-tsc/styles.d.ts
CHANGED
|
@@ -1,76 +1,8 @@
|
|
|
1
1
|
export function MuiSpan(props: any): import(".pnpm/@types+react@18.2.7/node_modules/@types/react").JSX.Element;
|
|
2
2
|
export const useSelectStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"selectRoot">;
|
|
3
|
-
export const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const StyledAccordionSummary: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ComponentType<Pick<{
|
|
9
|
-
children?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ReactNode;
|
|
10
|
-
expandIcon?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ReactNode;
|
|
11
|
-
IconButtonProps?: Partial<import("@material-ui/core").IconButtonProps<"button", {}>> | undefined;
|
|
12
|
-
} & {
|
|
13
|
-
action?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
|
|
14
|
-
buttonRef?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").Ref<unknown> | undefined;
|
|
15
|
-
centerRipple?: boolean | undefined;
|
|
16
|
-
children?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ReactNode;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
disableRipple?: boolean | undefined;
|
|
19
|
-
disableTouchRipple?: boolean | undefined;
|
|
20
|
-
focusRipple?: boolean | undefined;
|
|
21
|
-
focusVisibleClassName?: string | undefined;
|
|
22
|
-
onFocusVisible?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").FocusEventHandler<any> | undefined;
|
|
23
|
-
tabIndex?: string | number | undefined;
|
|
24
|
-
TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
25
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").ExtendButtonBaseTypeMap<import("@material-ui/core").AccordionSummaryTypeMap<{}, "div">>> & Pick<Omit<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").DetailedHTMLProps<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
26
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import(".pnpm/@types+react@18.2.7/node_modules/@types/react").RefObject<HTMLDivElement> | null | undefined;
|
|
27
|
-
}, "color" | "content" | "translate" | "hidden" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, "color" | "content" | "translate" | "hidden" | "style" | "disabled" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "ref" | "expandIcon" | "key" | "IconButtonProps" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps"> & import("@material-ui/core").StyledComponentProps<"content" | "expanded" | "root" | "expandIcon">>;
|
|
28
|
-
export const StyledInputLabel: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ComponentType<Pick<import("@material-ui/core").InputLabelProps, "color" | "content" | "translate" | "margin" | "hidden" | "style" | "filled" | "disabled" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "ref" | "form" | "key" | "focused" | "htmlFor" | "error" | "required" | "shrink" | "disableAnimation" | "variant"> & import("@material-ui/core").StyledComponentProps<"root">>;
|
|
29
|
-
export const OverflowEllipsisGrid: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ComponentType<Pick<{
|
|
30
|
-
alignContent?: import("@material-ui/core").GridContentAlignment | undefined;
|
|
31
|
-
alignItems?: import("@material-ui/core").GridItemsAlignment | undefined;
|
|
32
|
-
children?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ReactNode;
|
|
33
|
-
container?: boolean | undefined;
|
|
34
|
-
direction?: import("@material-ui/core").GridDirection | undefined;
|
|
35
|
-
item?: boolean | undefined;
|
|
36
|
-
justify?: import("@material-ui/core").GridJustification | undefined;
|
|
37
|
-
justifyContent?: import("@material-ui/core").GridJustification | undefined;
|
|
38
|
-
lg?: boolean | import("@material-ui/core").GridSize | undefined;
|
|
39
|
-
md?: boolean | import("@material-ui/core").GridSize | undefined;
|
|
40
|
-
sm?: boolean | import("@material-ui/core").GridSize | undefined;
|
|
41
|
-
spacing?: import("@material-ui/core").GridSpacing | undefined;
|
|
42
|
-
wrap?: import("@material-ui/core").GridWrap | undefined;
|
|
43
|
-
xl?: boolean | import("@material-ui/core").GridSize | undefined;
|
|
44
|
-
xs?: boolean | import("@material-ui/core").GridSize | undefined;
|
|
45
|
-
zeroMinWidth?: boolean | undefined;
|
|
46
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").GridTypeMap<{}, "div">> & Pick<Omit<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").DetailedHTMLProps<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
47
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import(".pnpm/@types+react@18.2.7/node_modules/@types/react").RefObject<HTMLDivElement> | null | undefined;
|
|
48
|
-
}, "color" | "content" | "translate" | "hidden" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, "alignContent" | "alignItems" | "color" | "content" | "direction" | "justifyContent" | "translate" | "hidden" | "style" | "wrap" | "justify" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "ref" | "key" | "item" | "container" | "lg" | "md" | "sm" | "spacing" | "xl" | "xs" | "zeroMinWidth"> & import("@material-ui/core").StyledComponentProps<"item">>;
|
|
49
|
-
export const StyledSelectionSlider: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ComponentType<Pick<{
|
|
50
|
-
'aria-label'?: string | undefined;
|
|
51
|
-
'aria-labelledby'?: string | undefined;
|
|
52
|
-
'aria-valuetext'?: string | undefined;
|
|
53
|
-
color?: "primary" | "secondary" | undefined;
|
|
54
|
-
defaultValue?: number | number[] | undefined;
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
getAriaLabel?: ((index: number) => string) | undefined;
|
|
57
|
-
getAriaValueText?: ((value: number, index: number) => string) | undefined;
|
|
58
|
-
marks?: boolean | import("@material-ui/core").Mark[] | undefined;
|
|
59
|
-
max?: number | undefined;
|
|
60
|
-
min?: number | undefined;
|
|
61
|
-
name?: string | undefined;
|
|
62
|
-
onChange?: ((event: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ChangeEvent<{}>, value: number | number[]) => void) | undefined;
|
|
63
|
-
onChangeCommitted?: ((event: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ChangeEvent<{}>, value: number | number[]) => void) | undefined;
|
|
64
|
-
orientation?: "horizontal" | "vertical" | undefined;
|
|
65
|
-
step?: number | null | undefined;
|
|
66
|
-
scale?: ((value: number) => number) | undefined;
|
|
67
|
-
ThumbComponent?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ElementType<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").HTMLAttributes<HTMLSpanElement>> | undefined;
|
|
68
|
-
track?: false | "normal" | "inverted" | undefined;
|
|
69
|
-
value?: number | number[] | undefined;
|
|
70
|
-
ValueLabelComponent?: import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ElementType<import("@material-ui/core").ValueLabelProps> | undefined;
|
|
71
|
-
valueLabelDisplay?: "auto" | "on" | "off" | undefined;
|
|
72
|
-
valueLabelFormat?: string | ((value: number, index: number) => import(".pnpm/@types+react@18.2.7/node_modules/@types/react").ReactNode) | undefined;
|
|
73
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").SliderTypeMap<{}, "span">> & Pick<Omit<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").DetailedHTMLProps<import(".pnpm/@types+react@18.2.7/node_modules/@types/react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
74
|
-
ref?: ((instance: HTMLSpanElement | null) => void) | import(".pnpm/@types+react@18.2.7/node_modules/@types/react").RefObject<HTMLSpanElement> | null | undefined;
|
|
75
|
-
}, "content" | "translate" | "hidden" | "children" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key">, "color" | "content" | "scale" | "translate" | "hidden" | "style" | "disabled" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "innerRef" | "ref" | "step" | "track" | "key" | "name" | "value" | "getAriaLabel" | "getAriaValueText" | "marks" | "max" | "min" | "onChangeCommitted" | "orientation" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import("@material-ui/core").StyledComponentProps<"root" | "markActive">>;
|
|
3
|
+
export const useControllerSectionStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"layerControllerRoot">;
|
|
4
|
+
export const useAccordionStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<never>;
|
|
5
|
+
export const useInputLabelStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"inputLabelRoot">;
|
|
6
|
+
export const useOverflowEllipsisGridStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"item">;
|
|
7
|
+
export const useSelectionSliderStyles: (props?: any) => import("@material-ui/core/styles/withStyles").ClassNameMap<"selectionSliderRoot" | "markActive">;
|
|
76
8
|
//# sourceMappingURL=styles.d.ts.map
|
package/dist-tsc/styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.js"],"names":[],"mappings":"AAWA,+GAIC;AAED,wHAMI;AAOJ,4IAKI;AAEJ,oHAqBI;AAEJ,gIAII;AAEJ,gIAOI;AAEJ,yJAOI"}
|
package/dist-tsc/styles.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { makeStyles
|
|
2
|
+
import { makeStyles } from '@material-ui/core';
|
|
3
3
|
const useSpanStyles = makeStyles(() => ({
|
|
4
4
|
span: {
|
|
5
5
|
width: '70px',
|
|
@@ -20,45 +20,22 @@ export const useSelectStyles = makeStyles(() => ({
|
|
|
20
20
|
margin: '4px 0',
|
|
21
21
|
},
|
|
22
22
|
}));
|
|
23
|
-
export const useOptionStyles = withStyles(theme => ({
|
|
24
|
-
paper: {
|
|
25
|
-
backgroundColor: theme.palette.background.paper,
|
|
26
|
-
},
|
|
27
|
-
span: {
|
|
28
|
-
width: '70px',
|
|
29
|
-
textAlign: 'center',
|
|
30
|
-
paddingLeft: '2px',
|
|
31
|
-
paddingRight: '2px',
|
|
32
|
-
},
|
|
33
|
-
colors: {
|
|
34
|
-
'&:hover': {
|
|
35
|
-
backgroundColor: 'transparent',
|
|
36
|
-
},
|
|
37
|
-
paddingLeft: '2px',
|
|
38
|
-
paddingRight: '2px',
|
|
39
|
-
},
|
|
40
|
-
popper: {
|
|
41
|
-
zIndex: 4,
|
|
42
|
-
},
|
|
43
|
-
}));
|
|
44
23
|
const sharedControllerStyles = {
|
|
45
24
|
width: '100%',
|
|
46
25
|
flexDirection: 'column',
|
|
47
26
|
};
|
|
48
27
|
export const useControllerSectionStyles = makeStyles(() => ({
|
|
49
|
-
|
|
28
|
+
layerControllerRoot: {
|
|
50
29
|
...sharedControllerStyles,
|
|
51
30
|
padding: '0px 8px',
|
|
52
31
|
},
|
|
53
32
|
}));
|
|
54
|
-
export const
|
|
55
|
-
|
|
33
|
+
export const useAccordionStyles = makeStyles(theme => ({
|
|
34
|
+
accordionDetailsRoot: {
|
|
56
35
|
...sharedControllerStyles,
|
|
57
36
|
padding: '8px 8px 24px 8px',
|
|
58
37
|
},
|
|
59
|
-
|
|
60
|
-
export const StyledAccordionSummary = withStyles(theme => ({
|
|
61
|
-
root: {
|
|
38
|
+
accordionSummaryRoot: {
|
|
62
39
|
padding: '0px 8px',
|
|
63
40
|
},
|
|
64
41
|
content: {
|
|
@@ -74,25 +51,25 @@ export const StyledAccordionSummary = withStyles(theme => ({
|
|
|
74
51
|
top: theme.spacing(-1.3),
|
|
75
52
|
},
|
|
76
53
|
},
|
|
77
|
-
}))
|
|
78
|
-
export const
|
|
79
|
-
|
|
54
|
+
}));
|
|
55
|
+
export const useInputLabelStyles = makeStyles(() => ({
|
|
56
|
+
inputLabelRoot: {
|
|
80
57
|
fontSize: '14px',
|
|
81
58
|
},
|
|
82
|
-
}))
|
|
83
|
-
export const
|
|
59
|
+
}));
|
|
60
|
+
export const useOverflowEllipsisGridStyles = makeStyles(() => ({
|
|
84
61
|
item: {
|
|
85
62
|
width: '100%',
|
|
86
63
|
overflow: 'hidden',
|
|
87
64
|
whiteSpace: 'nowrap',
|
|
88
65
|
textOverflow: 'ellipsis',
|
|
89
66
|
},
|
|
90
|
-
}))
|
|
91
|
-
export const
|
|
92
|
-
|
|
67
|
+
}));
|
|
68
|
+
export const useSelectionSliderStyles = makeStyles(() => ({
|
|
69
|
+
selectionSliderRoot: {
|
|
93
70
|
marginTop: '7px',
|
|
94
71
|
},
|
|
95
72
|
markActive: {
|
|
96
73
|
backgroundColor: 'rgba(128, 128, 128, 0.7)',
|
|
97
74
|
},
|
|
98
|
-
}))
|
|
75
|
+
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/layer-controller",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,23 +20,23 @@
|
|
|
20
20
|
"@material-ui/icons": "~4.11.2",
|
|
21
21
|
"lodash-es": "^4.17.21",
|
|
22
22
|
"math.gl": "^3.5.6",
|
|
23
|
-
"@vitessce/constants-internal": "3.
|
|
24
|
-
"@vitessce/gl": "3.
|
|
25
|
-
"@vitessce/spatial-utils": "3.
|
|
26
|
-
"@vitessce/utils": "3.
|
|
27
|
-
"@vitessce/vit-s": "3.
|
|
23
|
+
"@vitessce/constants-internal": "3.1.0",
|
|
24
|
+
"@vitessce/gl": "3.1.0",
|
|
25
|
+
"@vitessce/spatial-utils": "3.1.0",
|
|
26
|
+
"@vitessce/utils": "3.1.0",
|
|
27
|
+
"@vitessce/vit-s": "3.1.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|
|
31
31
|
"vite": "^4.3.0",
|
|
32
|
-
"vitest": "^0.
|
|
32
|
+
"vitest": "^0.32.2"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",
|
|
39
|
-
"test": "pnpm exec vitest --run
|
|
39
|
+
"test": "pnpm exec vitest --run"
|
|
40
40
|
},
|
|
41
41
|
"module": "dist/index.js",
|
|
42
42
|
"exports": {
|
package/src/ColorPalette.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Lens as LensIcon } from '@material-ui/icons';
|
|
|
4
4
|
import { VIEWER_PALETTE } from '@vitessce/utils';
|
|
5
5
|
|
|
6
6
|
const useStyles = makeStyles(theme => ({
|
|
7
|
-
|
|
7
|
+
paletteContainer: {
|
|
8
8
|
width: '70px',
|
|
9
9
|
height: '40px',
|
|
10
10
|
display: 'flex',
|
|
@@ -27,7 +27,7 @@ const useStyles = makeStyles(theme => ({
|
|
|
27
27
|
const ColorPalette = ({ handleChange }) => {
|
|
28
28
|
const classes = useStyles();
|
|
29
29
|
return (
|
|
30
|
-
<div className={classes.
|
|
30
|
+
<div className={classes.paletteContainer} aria-label="color-swatch">
|
|
31
31
|
{VIEWER_PALETTE.map(color => (
|
|
32
32
|
<IconButton
|
|
33
33
|
className={classes.button}
|