@genome-spy/core 0.77.0 → 0.79.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/bundle/{browser-KWU9rWZT.js → browser-CETrb2cm.js} +53 -33
- package/dist/bundle/esm-BdLYkz-m.js +248 -0
- package/dist/bundle/esm-BwiDsqSb.js +1367 -0
- package/dist/bundle/esm-CDFd1cjk.js +441 -0
- package/dist/bundle/{esm-CRMf_I9V.js → esm-CTUHLDbv.js} +30 -30
- package/dist/bundle/esm-Cx-EbkOj.js +1221 -0
- package/dist/bundle/esm-DlYGqi79.js +128 -0
- package/dist/bundle/{esm-BygJiwh0.js → esm-k9p3oHkt.js} +133 -158
- package/dist/bundle/{esm-CT3ygiMq.js → esm-zAZJQO6D.js} +226 -212
- package/dist/bundle/index.es.js +14102 -10810
- package/dist/bundle/index.js +109 -95
- package/dist/bundle/{parquetRead-DG_-F5j5.js → parquetRead-Cad1SOVV.js} +473 -399
- package/dist/schema.json +23788 -11049
- package/dist/src/config/axisConfig.d.ts +2 -2
- package/dist/src/config/axisConfig.d.ts.map +1 -1
- package/dist/src/config/axisConfig.js +28 -44
- package/dist/src/config/configLayers.d.ts +45 -0
- package/dist/src/config/configLayers.d.ts.map +1 -0
- package/dist/src/config/configLayers.js +110 -0
- package/dist/src/config/defaultConfig.d.ts.map +1 -1
- package/dist/src/config/defaultConfig.js +8 -1
- package/dist/src/config/defaults/legendDefaults.d.ts +14 -0
- package/dist/src/config/defaults/legendDefaults.d.ts.map +1 -0
- package/dist/src/config/defaults/legendDefaults.js +46 -0
- package/dist/src/config/defaults/titleDefaults.d.ts.map +1 -1
- package/dist/src/config/defaults/titleDefaults.js +26 -18
- package/dist/src/config/legendConfig.d.ts +11 -0
- package/dist/src/config/legendConfig.d.ts.map +1 -0
- package/dist/src/config/legendConfig.js +63 -0
- package/dist/src/config/styleUtils.d.ts +8 -2
- package/dist/src/config/styleUtils.d.ts.map +1 -1
- package/dist/src/config/styleUtils.js +25 -1
- package/dist/src/config/themes.d.ts.map +1 -1
- package/dist/src/config/themes.js +21 -2
- package/dist/src/config/titleConfig.d.ts.map +1 -1
- package/dist/src/config/titleConfig.js +2 -18
- package/dist/src/data/collector.d.ts.map +1 -1
- package/dist/src/data/collector.js +40 -18
- package/dist/src/data/flowInit.d.ts +6 -0
- package/dist/src/data/flowInit.d.ts.map +1 -1
- package/dist/src/data/flowInit.js +1 -1
- package/dist/src/data/flowNode.d.ts +32 -0
- package/dist/src/data/flowNode.d.ts.map +1 -1
- package/dist/src/data/flowNode.js +59 -0
- package/dist/src/data/sources/lazy/bamSource.d.ts +0 -1
- package/dist/src/data/sources/lazy/bamSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/bamSource.js +39 -30
- package/dist/src/data/sources/lazy/bigBedSource.d.ts +0 -10
- package/dist/src/data/sources/lazy/bigBedSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/bigBedSource.js +127 -62
- package/dist/src/data/sources/lazy/bigWigSource.d.ts +2 -2
- package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/bigWigSource.js +234 -81
- package/dist/src/data/sources/lazy/gff3Source.d.ts +7 -3
- package/dist/src/data/sources/lazy/gff3Source.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/gff3Source.js +7 -8
- package/dist/src/data/sources/lazy/indexedFastaSource.d.ts +1 -1
- package/dist/src/data/sources/lazy/indexedFastaSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/indexedFastaSource.js +28 -19
- package/dist/src/data/sources/lazy/legendEntriesSource.d.ts +24 -0
- package/dist/src/data/sources/lazy/legendEntriesSource.d.ts.map +1 -0
- package/dist/src/data/sources/lazy/legendEntriesSource.js +217 -0
- package/dist/src/data/sources/lazy/legendGradientSource.d.ts +30 -0
- package/dist/src/data/sources/lazy/legendGradientSource.d.ts.map +1 -0
- package/dist/src/data/sources/lazy/legendGradientSource.js +388 -0
- package/dist/src/data/sources/lazy/mockLazySource.d.ts +4 -1
- package/dist/src/data/sources/lazy/mockLazySource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/mockLazySource.js +49 -4
- package/dist/src/data/sources/lazy/registerCoreLazySources.js +2 -0
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +3 -4
- package/dist/src/data/sources/lazy/tabixSource.d.ts +9 -4
- package/dist/src/data/sources/lazy/tabixSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/tabixSource.js +201 -70
- package/dist/src/data/sources/lazy/tabixTsvSource.d.ts +2 -3
- package/dist/src/data/sources/lazy/tabixTsvSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/tabixTsvSource.js +14 -12
- package/dist/src/data/sources/lazy/vcfSource.d.ts +7 -3
- package/dist/src/data/sources/lazy/vcfSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/vcfSource.js +7 -8
- package/dist/src/data/sources/urlDescriptor.d.ts +165 -0
- package/dist/src/data/sources/urlDescriptor.d.ts.map +1 -0
- package/dist/src/data/sources/urlDescriptor.js +473 -0
- package/dist/src/data/sources/urlDescriptorController.d.ts +25 -0
- package/dist/src/data/sources/urlDescriptorController.d.ts.map +1 -0
- package/dist/src/data/sources/urlDescriptorController.js +72 -0
- package/dist/src/data/sources/urlDescriptorState.d.ts +47 -0
- package/dist/src/data/sources/urlDescriptorState.d.ts.map +1 -0
- package/dist/src/data/sources/urlDescriptorState.js +129 -0
- package/dist/src/data/sources/urlSource.d.ts.map +1 -1
- package/dist/src/data/sources/urlSource.js +101 -61
- package/dist/src/data/transforms/packLegendLabels.d.ts +21 -0
- package/dist/src/data/transforms/packLegendLabels.d.ts.map +1 -0
- package/dist/src/data/transforms/packLegendLabels.js +189 -0
- package/dist/src/data/transforms/transformFactory.d.ts.map +1 -1
- package/dist/src/data/transforms/transformFactory.js +4 -0
- package/dist/src/data/transforms/truncateText.d.ts +27 -0
- package/dist/src/data/transforms/truncateText.d.ts.map +1 -0
- package/dist/src/data/transforms/truncateText.js +94 -0
- package/dist/src/debug/dataflowDebugSnapshot.d.ts +58 -0
- package/dist/src/debug/dataflowDebugSnapshot.d.ts.map +1 -0
- package/dist/src/debug/dataflowDebugSnapshot.js +159 -0
- package/dist/src/debug/markDebugSnapshot.d.ts +54 -0
- package/dist/src/debug/markDebugSnapshot.d.ts.map +1 -0
- package/dist/src/debug/markDebugSnapshot.js +100 -0
- package/dist/src/debug/paramDebugSnapshot.d.ts +53 -0
- package/dist/src/debug/paramDebugSnapshot.d.ts.map +1 -0
- package/dist/src/debug/paramDebugSnapshot.js +86 -0
- package/dist/src/debug/resolutionDebugSnapshot.d.ts +155 -0
- package/dist/src/debug/resolutionDebugSnapshot.d.ts.map +1 -0
- package/dist/src/debug/resolutionDebugSnapshot.js +291 -0
- package/dist/src/debug/valuePreview.d.ts +9 -0
- package/dist/src/debug/valuePreview.d.ts.map +1 -0
- package/dist/src/debug/valuePreview.js +57 -0
- package/dist/src/debug/viewDebugSnapshot.d.ts +131 -0
- package/dist/src/debug/viewDebugSnapshot.d.ts.map +1 -0
- package/dist/src/debug/viewDebugSnapshot.js +390 -0
- package/dist/src/embedFactory.d.ts.map +1 -1
- package/dist/src/embedFactory.js +6 -1
- package/dist/src/encoder/encoder.d.ts +2 -2
- package/dist/src/encoder/encoder.d.ts.map +1 -1
- package/dist/src/encoder/encoder.js +5 -4
- package/dist/src/fonts/bmFontManager.d.ts +1 -1
- package/dist/src/fonts/bmFontManager.d.ts.map +1 -1
- package/dist/src/fonts/bmFontManager.js +45 -10
- package/dist/src/fonts/textMetrics.d.ts +69 -0
- package/dist/src/fonts/textMetrics.d.ts.map +1 -0
- package/dist/src/fonts/textMetrics.js +73 -0
- package/dist/src/genomeSpy/headlessBootstrap.d.ts.map +1 -1
- package/dist/src/genomeSpy/headlessBootstrap.js +8 -0
- package/dist/src/genomeSpy/interactionController.d.ts +4 -1
- package/dist/src/genomeSpy/interactionController.d.ts.map +1 -1
- package/dist/src/genomeSpy/interactionController.js +57 -13
- package/dist/src/genomeSpy/renderCoordinator.d.ts.map +1 -1
- package/dist/src/genomeSpy/renderCoordinator.js +25 -3
- package/dist/src/genomeSpy/viewDataInit.d.ts +14 -0
- package/dist/src/genomeSpy/viewDataInit.d.ts.map +1 -1
- package/dist/src/genomeSpy/viewDataInit.js +45 -8
- package/dist/src/genomeSpyBase.d.ts +6 -0
- package/dist/src/genomeSpyBase.d.ts.map +1 -1
- package/dist/src/genomeSpyBase.js +25 -4
- package/dist/src/gl/glslScaleGenerator.d.ts +17 -0
- package/dist/src/gl/glslScaleGenerator.d.ts.map +1 -1
- package/dist/src/gl/glslScaleGenerator.js +39 -2
- package/dist/src/gl/includes/common.glsl.js +1 -1
- package/dist/src/gl/vertexRangeIndex.d.ts.map +1 -1
- package/dist/src/gl/vertexRangeIndex.js +4 -2
- package/dist/src/gl/webGLHelper.d.ts +1 -1
- package/dist/src/gl/webGLHelper.d.ts.map +1 -1
- package/dist/src/gl/webGLHelper.js +13 -8
- package/dist/src/marks/__snapshots__/shaderSnapshot.test.js.snap +140 -3
- package/dist/src/marks/mark.d.ts +47 -4
- package/dist/src/marks/mark.d.ts.map +1 -1
- package/dist/src/marks/mark.js +158 -54
- package/dist/src/marks/point.d.ts.map +1 -1
- package/dist/src/marks/point.js +4 -0
- package/dist/src/marks/point.vertex.glsl.js +1 -1
- package/dist/src/marks/text.d.ts +1 -1
- package/dist/src/marks/text.d.ts.map +1 -1
- package/dist/src/marks/text.js +2 -7
- package/dist/src/marks/text.vertex.glsl.js +1 -1
- package/dist/src/paramRuntime/paramUtils.d.ts +43 -9
- package/dist/src/paramRuntime/paramUtils.d.ts.map +1 -1
- package/dist/src/paramRuntime/paramUtils.js +61 -1
- package/dist/src/paramRuntime/viewParamRuntime.d.ts +32 -0
- package/dist/src/paramRuntime/viewParamRuntime.d.ts.map +1 -1
- package/dist/src/paramRuntime/viewParamRuntime.js +63 -0
- package/dist/src/scales/axisResolution.d.ts +35 -0
- package/dist/src/scales/axisResolution.d.ts.map +1 -1
- package/dist/src/scales/axisResolution.js +115 -7
- package/dist/src/scales/domainExpressions.d.ts +21 -0
- package/dist/src/scales/domainExpressions.d.ts.map +1 -0
- package/dist/src/scales/domainExpressions.js +43 -0
- package/dist/src/scales/domainPlanner.d.ts +12 -1
- package/dist/src/scales/domainPlanner.d.ts.map +1 -1
- package/dist/src/scales/domainPlanner.js +55 -36
- package/dist/src/scales/legendResolution.d.ts +83 -0
- package/dist/src/scales/legendResolution.d.ts.map +1 -0
- package/dist/src/scales/legendResolution.js +461 -0
- package/dist/src/scales/scaleInstanceManager.d.ts +1 -0
- package/dist/src/scales/scaleInstanceManager.d.ts.map +1 -1
- package/dist/src/scales/scaleInstanceManager.js +5 -0
- package/dist/src/scales/scalePropsResolver.d.ts +6 -1
- package/dist/src/scales/scalePropsResolver.d.ts.map +1 -1
- package/dist/src/scales/scalePropsResolver.js +35 -10
- package/dist/src/scales/scaleResolution.d.ts +52 -0
- package/dist/src/scales/scaleResolution.d.ts.map +1 -1
- package/dist/src/scales/scaleResolution.js +195 -16
- package/dist/src/scales/scaleRules.d.ts +10 -0
- package/dist/src/scales/scaleRules.d.ts.map +1 -1
- package/dist/src/scales/scaleRules.js +38 -1
- package/dist/src/scales/viewLevelGuideConfig.d.ts +53 -0
- package/dist/src/scales/viewLevelGuideConfig.d.ts.map +1 -0
- package/dist/src/scales/viewLevelGuideConfig.js +224 -0
- package/dist/src/scales/viewLevelScaleConfig.d.ts +45 -0
- package/dist/src/scales/viewLevelScaleConfig.d.ts.map +1 -0
- package/dist/src/scales/viewLevelScaleConfig.js +149 -0
- package/dist/src/spec/axis.d.ts +109 -3
- package/dist/src/spec/channel.d.ts +23 -4
- package/dist/src/spec/config.d.ts +59 -4
- package/dist/src/spec/data.d.ts +177 -17
- package/dist/src/spec/legend.d.ts +246 -0
- package/dist/src/spec/mark.d.ts +16 -4
- package/dist/src/spec/scale.d.ts +19 -6
- package/dist/src/spec/title.d.ts +58 -1
- package/dist/src/spec/transform.d.ts +149 -0
- package/dist/src/spec/view.d.ts +50 -6
- package/dist/src/styles/genome-spy.css +4 -1
- package/dist/src/styles/genome-spy.css.d.ts +1 -1
- package/dist/src/styles/genome-spy.css.d.ts.map +1 -1
- package/dist/src/styles/genome-spy.css.js +4 -1
- package/dist/src/types/embedApi.d.ts +262 -6
- package/dist/src/types/rendering.d.ts +19 -3
- package/dist/src/types/viewContext.d.ts +18 -2
- package/dist/src/utils/arrayUtils.d.ts +11 -0
- package/dist/src/utils/arrayUtils.d.ts.map +1 -1
- package/dist/src/utils/arrayUtils.js +23 -0
- package/dist/src/utils/suspension.d.ts +17 -0
- package/dist/src/utils/suspension.d.ts.map +1 -0
- package/dist/src/utils/suspension.js +41 -0
- package/dist/src/utils/ui/tooltip.d.ts +4 -0
- package/dist/src/utils/ui/tooltip.d.ts.map +1 -1
- package/dist/src/utils/ui/tooltip.js +35 -10
- package/dist/src/view/axisGridView.d.ts.map +1 -1
- package/dist/src/view/axisGridView.js +1 -4
- package/dist/src/view/axisView.d.ts +18 -2
- package/dist/src/view/axisView.d.ts.map +1 -1
- package/dist/src/view/axisView.js +180 -75
- package/dist/src/view/concatView.d.ts +10 -2
- package/dist/src/view/concatView.d.ts.map +1 -1
- package/dist/src/view/concatView.js +46 -9
- package/dist/src/view/containerMutationHelper.d.ts +20 -1
- package/dist/src/view/containerMutationHelper.d.ts.map +1 -1
- package/dist/src/view/containerMutationHelper.js +203 -32
- package/dist/src/view/facetView.d.ts +1 -1
- package/dist/src/view/gridView/gridChild.d.ts +54 -4
- package/dist/src/view/gridView/gridChild.d.ts.map +1 -1
- package/dist/src/view/gridView/gridChild.js +301 -120
- package/dist/src/view/gridView/gridChildLegends.d.ts +57 -0
- package/dist/src/view/gridView/gridChildLegends.d.ts.map +1 -0
- package/dist/src/view/gridView/gridChildLegends.js +503 -0
- package/dist/src/view/gridView/gridView.d.ts +25 -0
- package/dist/src/view/gridView/gridView.d.ts.map +1 -1
- package/dist/src/view/gridView/gridView.js +454 -78
- package/dist/src/view/gridView/legendLayout.d.ts +26 -0
- package/dist/src/view/gridView/legendLayout.d.ts.map +1 -0
- package/dist/src/view/gridView/legendLayout.js +111 -0
- package/dist/src/view/gridView/scrollbar.d.ts.map +1 -1
- package/dist/src/view/gridView/scrollbar.js +1 -4
- package/dist/src/view/gridView/selectionRect.d.ts.map +1 -1
- package/dist/src/view/gridView/selectionRect.js +1 -4
- package/dist/src/view/gridView/separatorView.d.ts.map +1 -1
- package/dist/src/view/gridView/separatorView.js +1 -4
- package/dist/src/view/layerView.d.ts +9 -2
- package/dist/src/view/layerView.d.ts.map +1 -1
- package/dist/src/view/layerView.js +18 -1
- package/dist/src/view/layout/flexLayout.d.ts +20 -4
- package/dist/src/view/layout/flexLayout.d.ts.map +1 -1
- package/dist/src/view/layout/flexLayout.js +331 -31
- package/dist/src/view/layout/rectangle.d.ts +14 -0
- package/dist/src/view/layout/rectangle.d.ts.map +1 -1
- package/dist/src/view/layout/rectangle.js +40 -0
- package/dist/src/view/legend/legendEntries.d.ts +20 -0
- package/dist/src/view/legend/legendEntries.d.ts.map +1 -0
- package/dist/src/view/legend/legendEntries.js +21 -0
- package/dist/src/view/legendView.d.ts +134 -0
- package/dist/src/view/legendView.d.ts.map +1 -0
- package/dist/src/view/legendView.js +1611 -0
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/bufferedViewRenderingContext.js +26 -4
- package/dist/src/view/renderingContext/clipOptions.d.ts +44 -0
- package/dist/src/view/renderingContext/clipOptions.d.ts.map +1 -0
- package/dist/src/view/renderingContext/clipOptions.js +140 -0
- package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts.map +1 -1
- package/dist/src/view/renderingContext/simpleViewRenderingContext.js +12 -1
- package/dist/src/view/resolutionPlanner.d.ts +2 -1
- package/dist/src/view/resolutionPlanner.d.ts.map +1 -1
- package/dist/src/view/resolutionPlanner.js +89 -25
- package/dist/src/view/testUtils.d.ts +4 -2
- package/dist/src/view/testUtils.d.ts.map +1 -1
- package/dist/src/view/testUtils.js +29 -7
- package/dist/src/view/titleView.d.ts +37 -0
- package/dist/src/view/titleView.d.ts.map +1 -0
- package/dist/src/view/titleView.js +584 -0
- package/dist/src/view/unitView.d.ts +3 -3
- package/dist/src/view/unitView.d.ts.map +1 -1
- package/dist/src/view/unitView.js +3 -2
- package/dist/src/view/view.d.ts +25 -24
- package/dist/src/view/view.d.ts.map +1 -1
- package/dist/src/view/view.js +121 -16
- package/dist/src/view/viewFactory.d.ts +2 -5
- package/dist/src/view/viewFactory.d.ts.map +1 -1
- package/dist/src/view/viewFactory.js +1 -2
- package/dist/src/view/viewIdentityRegistry.d.ts +37 -0
- package/dist/src/view/viewIdentityRegistry.d.ts.map +1 -0
- package/dist/src/view/viewIdentityRegistry.js +71 -0
- package/dist/src/view/viewMutationAcidTestUtils.d.ts +112 -0
- package/dist/src/view/viewMutationAcidTestUtils.d.ts.map +1 -0
- package/dist/src/view/viewMutationAcidTestUtils.js +234 -0
- package/dist/src/view/viewMutationApi.d.ts +42 -0
- package/dist/src/view/viewMutationApi.d.ts.map +1 -0
- package/dist/src/view/viewMutationApi.js +811 -0
- package/dist/src/view/viewSelectors.d.ts +10 -0
- package/dist/src/view/viewSelectors.d.ts.map +1 -1
- package/dist/src/view/viewSelectors.js +23 -1
- package/package.json +4 -4
- package/dist/bundle/esm-0dYHNV_D.js +0 -121
- package/dist/bundle/esm-C49STiCR.js +0 -1248
- package/dist/bundle/esm-CscjKVDc.js +0 -1426
- package/dist/bundle/esm-CuMSzCHy.js +0 -298
- package/dist/bundle/esm-DMXpJXM4.js +0 -369
- package/dist/src/view/title.d.ts +0 -13
- package/dist/src/view/title.d.ts.map +0 -1
- package/dist/src/view/title.js +0 -154
- /package/dist/bundle/{AbortablePromiseCache-3gHJdF3E.js → AbortablePromiseCache-BTmAcN-t.js} +0 -0
- /package/dist/bundle/{esm-CuVa5T98.js → esm-VvpZ9hsq.js} +0 -0
- /package/dist/bundle/{chunk-DmhlhrBa.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
package/dist/src/spec/scale.d.ts
CHANGED
|
@@ -67,8 +67,17 @@ export interface Scale {
|
|
|
67
67
|
* For _temporal_ fields, `domain` can be a two-element array minimum and maximum values, in the form of either timestamps or the [DateTime definition objects](https://vega.github.io/vega-lite/docs/types.html#datetime).
|
|
68
68
|
*
|
|
69
69
|
* For _ordinal_ and _nominal_ fields, `domain` can be an array that lists valid input values.
|
|
70
|
+
|
|
71
|
+
* The domain can also be defined by an expression reference that evaluates to the domain array.
|
|
72
|
+
* Array elements may also be expression references.
|
|
73
|
+
*
|
|
70
74
|
*/
|
|
71
|
-
domain?:
|
|
75
|
+
domain?:
|
|
76
|
+
| ScalarDomain
|
|
77
|
+
| ComplexDomain
|
|
78
|
+
| SelectionDomainRef
|
|
79
|
+
| ExprRef
|
|
80
|
+
| DomainValueArray;
|
|
72
81
|
|
|
73
82
|
/**
|
|
74
83
|
* Inserts a single mid-point value into a two-element domain. The mid-point value must lie between the domain minimum and maximum values. This property can be useful for setting a midpoint for [diverging color scales](https://vega.github.io/vega-lite/docs/scale.html#piecewise). The domainMid property is only intended for use with scales supporting continuous, piecewise domains.
|
|
@@ -97,10 +106,10 @@ export interface Scale {
|
|
|
97
106
|
* transition.
|
|
98
107
|
*
|
|
99
108
|
* Set this to `false` to apply domain updates immediately. The default is
|
|
100
|
-
* `true`, except for domains
|
|
109
|
+
* `true`, except for domains that include `ExprRef`s, which default to
|
|
101
110
|
* `false` unless overridden.
|
|
102
111
|
*
|
|
103
|
-
* __Default value:__ `true`, except `false` for ExprRef
|
|
112
|
+
* __Default value:__ `true`, except `false` for `ExprRef`-driven domains.
|
|
104
113
|
*/
|
|
105
114
|
domainTransition?: boolean | Record<string, unknown>;
|
|
106
115
|
|
|
@@ -109,9 +118,9 @@ export interface Scale {
|
|
|
109
118
|
*
|
|
110
119
|
* - A string indicating a [pre-defined named scale range](https://vega.github.io/vega-lite/docs/scale.html#range-config) (e.g., example, `"symbol"`, or `"diverging"`).
|
|
111
120
|
*
|
|
112
|
-
* - For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating
|
|
121
|
+
* - For [continuous scales](https://vega.github.io/vega-lite/docs/scale.html#continuous), two-element array indicating minimum and maximum values, or an array with more than two entries for specifying a [piecewise scale](https://vega.github.io/vega-lite/docs/scale.html#piecewise). Array elements may also be expression references.
|
|
113
122
|
*
|
|
114
|
-
* - For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values.
|
|
123
|
+
* - For [discrete](https://vega.github.io/vega-lite/docs/scale.html#discrete) and [discretizing](https://vega.github.io/vega-lite/docs/scale.html#discretizing) scales, an array of desired output values. Array elements may also be expression references.
|
|
115
124
|
*
|
|
116
125
|
* __Notes:__
|
|
117
126
|
*
|
|
@@ -119,7 +128,7 @@ export interface Scale {
|
|
|
119
128
|
*
|
|
120
129
|
* 2) Any directly specified `range` for `x` and `y` channels will be ignored. Range can be customized via the view's corresponding [size](https://vega.github.io/vega-lite/docs/size.html) (`width` and `height`).
|
|
121
130
|
*/
|
|
122
|
-
range?: number
|
|
131
|
+
range?: (number | string | ExprRef)[] | string;
|
|
123
132
|
|
|
124
133
|
// ordinal
|
|
125
134
|
|
|
@@ -257,6 +266,10 @@ export interface Scale {
|
|
|
257
266
|
|
|
258
267
|
export type InlineLocusAssembly = GenomeDefinition;
|
|
259
268
|
|
|
269
|
+
export type DomainValue = number | string | boolean | ExprRef;
|
|
270
|
+
|
|
271
|
+
export type DomainValueArray = DomainValue[];
|
|
272
|
+
|
|
260
273
|
export interface SelectionDomainRef {
|
|
261
274
|
/**
|
|
262
275
|
* Name of an interval selection parameter that provides the domain.
|
package/dist/src/spec/title.d.ts
CHANGED
|
@@ -22,6 +22,11 @@ export interface Title extends ZIndexProps {
|
|
|
22
22
|
*/
|
|
23
23
|
text: string | ExprRef;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* The subtitle text.
|
|
27
|
+
*/
|
|
28
|
+
subtitle?: string | ExprRef;
|
|
29
|
+
|
|
25
30
|
/**
|
|
26
31
|
* A mark style property to apply to the title text mark. If not specified, a default style of `"group-title"` is applied.
|
|
27
32
|
*/
|
|
@@ -33,7 +38,11 @@ export interface Title extends ZIndexProps {
|
|
|
33
38
|
anchor?: TitleAnchor;
|
|
34
39
|
|
|
35
40
|
/**
|
|
36
|
-
* The reference frame for the
|
|
41
|
+
* The reference frame for the title anchor. `"group"` anchors the title
|
|
42
|
+
* along the plot area. `"bounds"` anchors the title along the full bounds,
|
|
43
|
+
* including axes, legends, and other reserved space.
|
|
44
|
+
*
|
|
45
|
+
* __Default value:__ `"group"`
|
|
37
46
|
*/
|
|
38
47
|
frame?: TitleFrame;
|
|
39
48
|
|
|
@@ -42,6 +51,18 @@ export interface Title extends ZIndexProps {
|
|
|
42
51
|
*/
|
|
43
52
|
offset?: number;
|
|
44
53
|
|
|
54
|
+
/**
|
|
55
|
+
* Whether the title reserves layout space outside the plot area. Reserved
|
|
56
|
+
* titles are placed outside axes, legends, and other guide space on the same
|
|
57
|
+
* side.
|
|
58
|
+
*
|
|
59
|
+
* Setting this to `false` lets the title render without affecting layout,
|
|
60
|
+
* enabling wilder layouts where titles may overlap nearby content.
|
|
61
|
+
*
|
|
62
|
+
* __Default value:__ `true`
|
|
63
|
+
*/
|
|
64
|
+
reserve?: boolean;
|
|
65
|
+
|
|
45
66
|
/**
|
|
46
67
|
* Z-order of the title relative to the view content.
|
|
47
68
|
*
|
|
@@ -111,4 +132,40 @@ export interface Title extends ZIndexProps {
|
|
|
111
132
|
* This can be either a string (e.g `"bold"`, `"normal"`) or a number (`100`, `200`, `300`, ..., `900` where `"normal"` = `400` and `"bold"` = `700`).
|
|
112
133
|
*/
|
|
113
134
|
fontWeight?: FontWeight;
|
|
135
|
+
|
|
136
|
+
// ---------- Subtitle Text ----------
|
|
137
|
+
/**
|
|
138
|
+
* Text color for subtitle text.
|
|
139
|
+
*/
|
|
140
|
+
subtitleColor?: string | ExprRef;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Font name for subtitle text.
|
|
144
|
+
*/
|
|
145
|
+
subtitleFont?: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Font size in pixels for subtitle text.
|
|
149
|
+
*
|
|
150
|
+
* @minimum 0
|
|
151
|
+
*/
|
|
152
|
+
subtitleFontSize?: number | ExprRef;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Font style for subtitle text.
|
|
156
|
+
*/
|
|
157
|
+
subtitleFontStyle?: FontStyle;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Font weight for subtitle text.
|
|
161
|
+
* This can be either a string (e.g `"bold"`, `"normal"`) or a number (`100`, `200`, `300`, ..., `900` where `"normal"` = `400` and `"bold"` = `700`).
|
|
162
|
+
*/
|
|
163
|
+
subtitleFontWeight?: FontWeight;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Padding in pixels between title and subtitle text.
|
|
167
|
+
*
|
|
168
|
+
* __Default value:__ `3`
|
|
169
|
+
*/
|
|
170
|
+
subtitlePadding?: number;
|
|
114
171
|
}
|
|
@@ -474,6 +474,153 @@ export interface MeasureTextParams extends TransformParamsBase {
|
|
|
474
474
|
as: string;
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
+
export interface TruncateTextParams extends TransformParamsBase {
|
|
478
|
+
type: "truncateText";
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* The field that contains the text to be truncated.
|
|
482
|
+
*/
|
|
483
|
+
field: Field;
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Maximum text width in pixels.
|
|
487
|
+
*/
|
|
488
|
+
limit?: number;
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* The font size in pixels.
|
|
492
|
+
*/
|
|
493
|
+
fontSize: number;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* The font typeface. Uses the same asynchronously loaded SDF fonts as the
|
|
497
|
+
* `"text"` mark.
|
|
498
|
+
*
|
|
499
|
+
* **Default:** `"Lato"`
|
|
500
|
+
*/
|
|
501
|
+
font?: string;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* The font style. Valid values: `"normal"` and `"italic"`.
|
|
505
|
+
*
|
|
506
|
+
* **Default:** `"normal"`
|
|
507
|
+
*/
|
|
508
|
+
fontStyle?: FontStyle;
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* The font weight.
|
|
512
|
+
*
|
|
513
|
+
* **Default:** `"regular"`
|
|
514
|
+
*/
|
|
515
|
+
fontWeight?: FontWeight;
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Text appended after truncation.
|
|
519
|
+
*
|
|
520
|
+
* **Default:** `"..."`.
|
|
521
|
+
*/
|
|
522
|
+
ellipsis?: string;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* The output field where the truncated text is written.
|
|
526
|
+
*
|
|
527
|
+
* **Default:** Same as `field`.
|
|
528
|
+
*/
|
|
529
|
+
as?: string;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export interface PackLegendLabelsParams extends TransformParamsBase {
|
|
533
|
+
type: "packLegendLabels";
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* The field that contains measured label width in pixels.
|
|
537
|
+
*/
|
|
538
|
+
labelWidth: Field;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* The direction in which entries are laid out.
|
|
542
|
+
*
|
|
543
|
+
* **Default:** `"vertical"`
|
|
544
|
+
*/
|
|
545
|
+
direction?: "vertical" | "horizontal";
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* The number of columns in which to arrange entries.
|
|
549
|
+
*/
|
|
550
|
+
columns?: number;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Symbol size in pixels squared, or a field containing per-entry symbol
|
|
554
|
+
* sizes in pixels squared.
|
|
555
|
+
*
|
|
556
|
+
* **Default:** `100`
|
|
557
|
+
*/
|
|
558
|
+
symbolSize?: number | Field;
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Symbol stroke width in pixels, or a field containing per-entry stroke
|
|
562
|
+
* widths in pixels.
|
|
563
|
+
*
|
|
564
|
+
* **Default:** `0`
|
|
565
|
+
*/
|
|
566
|
+
symbolStrokeWidth?: number | Field;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Offset between the symbol and label in pixels.
|
|
570
|
+
*
|
|
571
|
+
* **Default:** `0`
|
|
572
|
+
*/
|
|
573
|
+
labelOffset?: number;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Label font size in pixels.
|
|
577
|
+
*
|
|
578
|
+
* **Default:** `10`
|
|
579
|
+
*/
|
|
580
|
+
fontSize?: number;
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* Padding between rows in pixels.
|
|
584
|
+
*
|
|
585
|
+
* **Default:** `0`
|
|
586
|
+
*/
|
|
587
|
+
rowPadding?: number;
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Padding between columns in pixels.
|
|
591
|
+
*
|
|
592
|
+
* **Default:** `0`
|
|
593
|
+
*/
|
|
594
|
+
columnPadding?: number;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* Horizontal offset for all generated entry coordinates in pixels.
|
|
598
|
+
*
|
|
599
|
+
* **Default:** `0`
|
|
600
|
+
*/
|
|
601
|
+
xOffset?: number;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Horizontal offset for generated symbol coordinates in pixels.
|
|
605
|
+
*
|
|
606
|
+
* **Default:** `0`
|
|
607
|
+
*/
|
|
608
|
+
symbolOffset?: number;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Vertical offset for all generated entry coordinates in pixels.
|
|
612
|
+
*
|
|
613
|
+
* **Default:** `0`
|
|
614
|
+
*/
|
|
615
|
+
yOffset?: number;
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
* Height of the pixel-space layout area. When provided, the transform also
|
|
619
|
+
* emits inverted y coordinates for GenomeSpy's unit y range.
|
|
620
|
+
*/
|
|
621
|
+
yExtent?: number | ExprRef;
|
|
622
|
+
}
|
|
623
|
+
|
|
477
624
|
export interface MergeFacetsParams extends TransformParamsBase {
|
|
478
625
|
type: "mergeFacets";
|
|
479
626
|
}
|
|
@@ -606,6 +753,8 @@ export type TransformParams =
|
|
|
606
753
|
| IdentifierParams
|
|
607
754
|
| LinearizeGenomicCoordinateParams
|
|
608
755
|
| MeasureTextParams
|
|
756
|
+
| TruncateTextParams
|
|
757
|
+
| PackLegendLabelsParams
|
|
609
758
|
| MergeFacetsParams
|
|
610
759
|
| PileupParams
|
|
611
760
|
| ProjectParams
|
package/dist/src/spec/view.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import { Data } from "./data.js";
|
|
|
2
2
|
import { TransformParams } from "./transform.js";
|
|
3
3
|
import {
|
|
4
4
|
Channel,
|
|
5
|
+
ChannelWithScale,
|
|
5
6
|
Encoding,
|
|
6
7
|
FacetFieldDef,
|
|
8
|
+
NonPositionalChannelWithScale,
|
|
7
9
|
PrimaryPositionalChannel,
|
|
8
10
|
} from "./channel.js";
|
|
9
11
|
import { MarkProps, MarkType, RuleProps } from "./mark.js";
|
|
@@ -12,6 +14,9 @@ import { Title } from "./title.js";
|
|
|
12
14
|
import { Parameter } from "./parameter.js";
|
|
13
15
|
import { GenomeSpyConfig } from "./config.js";
|
|
14
16
|
import { ViewBackgroundProps, ZIndexProps } from "./decoration.js";
|
|
17
|
+
import { Scale } from "./scale.js";
|
|
18
|
+
import { Axis, GenomeAxis } from "./axis.js";
|
|
19
|
+
import { Legend } from "./legend.js";
|
|
15
20
|
|
|
16
21
|
export interface SizeDef {
|
|
17
22
|
/**
|
|
@@ -25,6 +30,16 @@ export interface SizeDef {
|
|
|
25
30
|
* for details.
|
|
26
31
|
*/
|
|
27
32
|
grow?: number;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Minimum size in pixels.
|
|
36
|
+
*/
|
|
37
|
+
minPx?: number;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Maximum size in pixels.
|
|
41
|
+
*/
|
|
42
|
+
maxPx?: number;
|
|
28
43
|
}
|
|
29
44
|
|
|
30
45
|
// TODO: Perhaps this should be in "utils"
|
|
@@ -211,6 +226,35 @@ export interface ViewSpecBase extends ResolveSpec {
|
|
|
211
226
|
*/
|
|
212
227
|
config?: GenomeSpyConfig;
|
|
213
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Configures scale resolutions used by this view subtree.
|
|
231
|
+
*
|
|
232
|
+
* Use this when a composed view shares a scale across child views and the
|
|
233
|
+
* scale settings, such as the visible domain, belong to the composed view
|
|
234
|
+
* rather than an individual encoding.
|
|
235
|
+
*/
|
|
236
|
+
scales?: Partial<Record<ChannelWithScale, Scale>>;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Configures axis resolutions used by this view subtree.
|
|
240
|
+
*
|
|
241
|
+
* Use this when a composed view shares an axis across child views and the
|
|
242
|
+
* axis settings belong to the composed view rather than an individual
|
|
243
|
+
* encoding.
|
|
244
|
+
*/
|
|
245
|
+
axes?: Partial<
|
|
246
|
+
Record<PrimaryPositionalChannel, Partial<Axis & GenomeAxis>>
|
|
247
|
+
>;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Configures legend resolutions used by this view subtree.
|
|
251
|
+
*
|
|
252
|
+
* Use this when a composed view shares a legend across child views and the
|
|
253
|
+
* legend settings belong to the composed view rather than an individual
|
|
254
|
+
* encoding.
|
|
255
|
+
*/
|
|
256
|
+
legends?: Partial<Record<NonPositionalChannelWithScale, Legend>>;
|
|
257
|
+
|
|
214
258
|
/**
|
|
215
259
|
* Specifies a [data source](https://genomespy.app/docs/grammar/data/).
|
|
216
260
|
* If omitted, the data source is inherited from the parent view.
|
|
@@ -241,9 +285,6 @@ export interface ViewSpecBase extends ResolveSpec {
|
|
|
241
285
|
|
|
242
286
|
/**
|
|
243
287
|
* View title.
|
|
244
|
-
* N.B.: Currently, GenomeSpy doesn't do bound calculation, and you need to
|
|
245
|
-
* manually specify proper padding for the view to ensure that the title is
|
|
246
|
-
* visible.
|
|
247
288
|
*/
|
|
248
289
|
title?: string | Title;
|
|
249
290
|
|
|
@@ -390,7 +431,7 @@ export interface FacetSpec extends ViewSpecBase {
|
|
|
390
431
|
spacing?: number;
|
|
391
432
|
}
|
|
392
433
|
|
|
393
|
-
export type ResolutionTarget = "scale" | "axis";
|
|
434
|
+
export type ResolutionTarget = "scale" | "axis" | "legend";
|
|
394
435
|
|
|
395
436
|
/**
|
|
396
437
|
* `"independent"` and `"shared"` behave similarly to Vega-Lite.
|
|
@@ -406,9 +447,12 @@ export type ResolutionBehavior =
|
|
|
406
447
|
|
|
407
448
|
export interface ResolveSpec {
|
|
408
449
|
/**
|
|
409
|
-
* Specifies how scales and
|
|
410
|
-
* [resolved](https://genomespy.app/docs/grammar/composition/#scale-and-
|
|
450
|
+
* Specifies how scales, axes, and legends are
|
|
451
|
+
* [resolved](https://genomespy.app/docs/grammar/composition/#scale-axis-and-legend-resolution)
|
|
411
452
|
* in the view hierarchy.
|
|
453
|
+
*
|
|
454
|
+
* If legend resolution is not configured explicitly, it follows the
|
|
455
|
+
* corresponding scale resolution.
|
|
412
456
|
*/
|
|
413
457
|
resolve?: Partial<
|
|
414
458
|
Record<
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default css;
|
|
2
|
-
declare const css: "\n@scope {\n:scope {\n--genome-spy-basic-spacing: 10px;\n--genome-spy-font-family:\nsystem-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif,\n\"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n\nfont-family: var(--genome-spy-font-family);\n\nposition: relative;\n\ndisplay: flex;\nflex-direction: column;\n}\n\n.canvas-wrapper {\nposition: relative;\nflex-grow: 1;\noverflow: hidden;\n}\n\ncanvas {\ndisplay: block;\ntouch-action: none;\ntransform: scale(1, 1);\nopacity: 1;\ntransition:\ntransform 0.6s,\nopacity 0.6s;\n\n&:focus,\n&:focus-visible {\noutline: none;\n}\n}\n\n.loading {\n> canvas {\ntransform: scale(0.95, 0.95);\nopacity: 0;\n}\n}\n\n.loading-indicators {\nposition: absolute;\ninset: 0;\n\nuser-select: none;\npointer-events: none;\n\ndiv {\nposition: absolute;\ndisplay: flex;\nalign-items: center;\njustify-content: center;\n\n> div {\nfont-size: 11px;\ntransition: opacity 0.2s;\nbackground: white;\npadding: 2px 5px;\ndisplay: flex;\nborder-radius: 3px;\ngap: 0.5em;\nopacity: 0;\n\n&.loading {\nopacity: 0.5;\n}\n\n&.error {\nopacity: 0.8;\ncolor: firebrick;\n}\n\n> * {\ndisplay: block;\n}\n\nimg {\nwidth: 1.5em;\nheight: 1.5em;\n}\n}\n}\n}\n\n.tooltip {\nposition:
|
|
2
|
+
declare const css: "\n@scope {\n:scope {\n--genome-spy-basic-spacing: 10px;\n--genome-spy-font-family:\nsystem-ui, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif,\n\"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n\nfont-family: var(--genome-spy-font-family);\n\nposition: relative;\n\ndisplay: flex;\nflex-direction: column;\n}\n\n.canvas-wrapper {\nposition: relative;\nflex-grow: 1;\noverflow: hidden;\n}\n\ncanvas {\ndisplay: block;\ntouch-action: none;\ntransform: scale(1, 1);\nopacity: 1;\ntransition:\ntransform 0.6s,\nopacity 0.6s;\n\n&:focus,\n&:focus-visible {\noutline: none;\n}\n}\n\n.loading {\n> canvas {\ntransform: scale(0.95, 0.95);\nopacity: 0;\n}\n}\n\n.loading-indicators {\nposition: absolute;\ninset: 0;\n\nuser-select: none;\npointer-events: none;\n\ndiv {\nposition: absolute;\ndisplay: flex;\nalign-items: center;\njustify-content: center;\n\n> div {\nfont-size: 11px;\ntransition: opacity 0.2s;\nbackground: white;\npadding: 2px 5px;\ndisplay: flex;\nborder-radius: 3px;\ngap: 0.5em;\nopacity: 0;\n\n&.loading {\nopacity: 0.5;\n}\n\n&.error {\nopacity: 0.8;\ncolor: firebrick;\n}\n\n> * {\ndisplay: block;\n}\n\nimg {\nwidth: 1.5em;\nheight: 1.5em;\n}\n}\n}\n}\n\n.tooltip {\nposition: fixed;\ninset: auto;\nmargin: 0;\nborder: 0;\n\nmax-width: 450px;\noverflow: hidden;\n\n--background-color: #f6f6f6;\nbackground: var(--background-color);\npadding: var(--genome-spy-basic-spacing);\n\n--font-size: 12px;\nfont-size: var(--font-size);\n\nbox-shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.21);\n\n&:not(.sticky) {\npointer-events: none;\n}\n\ntransition:\noutline-color 0.3s ease-in-out,\nbox-shadow 0.3s ease-in-out;\n\noutline: 0px solid transparent;\n&.sticky {\noutline: 2px solid black;\nbox-shadow: 0px 3px 18px 0px rgba(0, 0, 0, 0.3);\n}\n\nz-index: 100;\n\n> :last-child {\nmargin-bottom: 0;\n}\n\n> .title {\npadding-bottom: calc(var(--genome-spy-basic-spacing) / 2);\nmargin-bottom: calc(var(--genome-spy-basic-spacing) / 2);\nborder-bottom: 1px dashed var(--background-color);\nborder-bottom: 1px dashed\ncolor-mix(in srgb, black 25%, var(--background-color));\n}\n\n.summary {\nfont-size: 12px;\n}\n\ntable {\n&:first-child {\nmargin-top: 0;\n}\n\nborder-collapse: collapse;\n\nth,\ntd {\npadding: 2px 0.4em;\nvertical-align: top;\nfont-size: var(--font-size);\n\n&:first-child {\npadding-left: 0;\n}\n}\n\nth {\ntext-align: left;\nfont-weight: bold;\n}\n}\n\n.color-legend {\ndisplay: inline-block;\nwidth: 0.8em;\nheight: 0.8em;\nmargin-left: 0.4em;\nbox-shadow: 0px 0px 3px 1px white;\n}\n\n.color-legend-unmapped {\nbackground-color: transparent;\nborder: 1px solid black;\nbox-sizing: border-box;\nbox-shadow: none;\n}\n\n.attributes {\n.hovered {\nbackground-color: #e0e0e0;\n}\n}\n\n.autoscroll-container {\nmax-height: min(40em, 50vh);\noverflow-x: hidden;\noverflow-y: auto;\npadding-right: var(--genome-spy-basic-spacing);\nmargin-right: calc(-1 * var(--genome-spy-basic-spacing));\n}\n\n.na {\ncolor: #aaa;\nfont-style: italic;\nfont-size: 80%;\n}\n}\n\n.gene-track-tooltip {\n.summary {\nfont-size: 90%;\n}\n}\n\n.gs-input-binding {\ndisplay: grid;\ngrid-template-columns: max-content max-content;\ncolumn-gap: 1em;\nrow-gap: 0.3em;\njustify-items: start;\n\n> select,\n> input:not([type=\"checkbox\"]) {\nwidth: 100%;\n}\n\ninput[type=\"range\"] + span {\ndisplay: inline-block;\nmargin-left: 0.3em;\nmin-width: 2.2em;\nfont-variant-numeric: tabular-nums;\n}\n\ninput[type=\"range\"],\ninput[type=\"radio\"] {\nvertical-align: text-bottom;\n}\n\n.radio-group {\ndisplay: flex;\nalign-items: center;\n}\n\n.description {\nmax-width: 26em;\ngrid-column: 1 / -1;\ncolor: #777;\nfont-size: 90%;\nmargin-top: -0.5em;\n}\n}\n\n.gs-input-bindings {\nflex-basis: content;\nfont-size: 14px;\npadding: var(--genome-spy-basic-spacing);\n}\n\n.message-box {\ndisplay: flex;\nalign-items: center;\njustify-content: center;\nposition: absolute;\ntop: 0;\nheight: 100%;\nwidth: 100%;\n\n> div {\nborder: 1px solid red;\npadding: 10px;\nbackground: #fff0f0;\n}\n}\n}\n";
|
|
3
3
|
//# sourceMappingURL=genome-spy.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genome-spy.css.d.ts","sourceRoot":"","sources":["../../../src/styles/genome-spy.css.js"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"genome-spy.css.d.ts","sourceRoot":"","sources":["../../../src/styles/genome-spy.css.js"],"names":[],"mappings":";AAAA,o7HAwQE"}
|