@vitessce/description 3.6.0 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +39 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -180,7 +180,30 @@ const ViewHelpMapping = {
|
|
|
180
180
|
};
|
|
181
181
|
const COMPONENT_COORDINATION_TYPES = {
|
|
182
182
|
[ViewType.NEUROGLANCER]: [
|
|
183
|
-
CoordinationType.DATASET
|
|
183
|
+
CoordinationType.DATASET,
|
|
184
|
+
CoordinationType.SPATIAL_TARGET_X,
|
|
185
|
+
CoordinationType.SPATIAL_TARGET_Y,
|
|
186
|
+
CoordinationType.SPATIAL_TARGET_Z,
|
|
187
|
+
CoordinationType.SPATIAL_ROTATION_X,
|
|
188
|
+
CoordinationType.SPATIAL_ROTATION_Y,
|
|
189
|
+
CoordinationType.SPATIAL_ROTATION_Z,
|
|
190
|
+
CoordinationType.SPATIAL_AXIS_FIXED,
|
|
191
|
+
CoordinationType.SPATIAL_ORBIT_AXIS,
|
|
192
|
+
CoordinationType.SPATIAL_ZOOM,
|
|
193
|
+
CoordinationType.OBS_FILTER,
|
|
194
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
195
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
196
|
+
CoordinationType.OBS_SET_FILTER,
|
|
197
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
198
|
+
CoordinationType.OBS_SET_COLOR,
|
|
199
|
+
CoordinationType.OBS_TYPE,
|
|
200
|
+
CoordinationType.ADDITIONAL_OBS_SETS,
|
|
201
|
+
CoordinationType.OBS_SET_COLOR,
|
|
202
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
203
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
204
|
+
CoordinationType.EMBEDDING_TYPE,
|
|
205
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
206
|
+
CoordinationType.TOOLTIPS_VISIBLE
|
|
184
207
|
],
|
|
185
208
|
[ViewType.SCATTERPLOT]: [
|
|
186
209
|
CoordinationType.DATASET,
|
|
@@ -4167,6 +4190,7 @@ function requireReactJsxRuntime_development() {
|
|
|
4167
4190
|
}
|
|
4168
4191
|
}
|
|
4169
4192
|
}
|
|
4193
|
+
var didWarnAboutKeySpread = {};
|
|
4170
4194
|
function jsxWithValidation(type, props, key, isStaticChildren, source, self2) {
|
|
4171
4195
|
{
|
|
4172
4196
|
var validType = isValidElementType(type);
|
|
@@ -4217,6 +4241,20 @@ function requireReactJsxRuntime_development() {
|
|
|
4217
4241
|
}
|
|
4218
4242
|
}
|
|
4219
4243
|
}
|
|
4244
|
+
{
|
|
4245
|
+
if (hasOwnProperty2.call(props, "key")) {
|
|
4246
|
+
var componentName = getComponentNameFromType(type);
|
|
4247
|
+
var keys2 = Object.keys(props).filter(function(k) {
|
|
4248
|
+
return k !== "key";
|
|
4249
|
+
});
|
|
4250
|
+
var beforeExample = keys2.length > 0 ? "{key: someKey, " + keys2.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
4251
|
+
if (!didWarnAboutKeySpread[componentName + beforeExample]) {
|
|
4252
|
+
var afterExample = keys2.length > 0 ? "{" + keys2.join(": ..., ") + ": ...}" : "{}";
|
|
4253
|
+
error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);
|
|
4254
|
+
didWarnAboutKeySpread[componentName + beforeExample] = true;
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4220
4258
|
if (type === REACT_FRAGMENT_TYPE) {
|
|
4221
4259
|
validateFragmentProps(element2);
|
|
4222
4260
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/description",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.2",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"react-markdown": "^9.0.1",
|
|
20
|
-
"@vitessce/styles": "3.6.
|
|
21
|
-
"@vitessce/constants-internal": "3.6.
|
|
22
|
-
"@vitessce/vit-s": "3.6.
|
|
20
|
+
"@vitessce/styles": "3.6.2",
|
|
21
|
+
"@vitessce/constants-internal": "3.6.2",
|
|
22
|
+
"@vitessce/vit-s": "3.6.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@testing-library/jest-dom": "^6.6.3",
|