@foxglove/embed 0.96.0 → 0.98.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.
|
@@ -171,7 +171,7 @@ export type PlotSeries = PlotSeriesBase & {
|
|
|
171
171
|
*/
|
|
172
172
|
dynamicValueField?: string;
|
|
173
173
|
/**
|
|
174
|
-
* For dynamic sub-series: how sub-series colors are chosen. "gradient" spreads sub-series evenly between the two colors of dynamicColorGradient, in label order, or across shades of the series color when dynamicColorGradient is unset. "turbo" spreads sub-series evenly across the Turbo colormap, in label order. The
|
|
174
|
+
* For dynamic sub-series: how sub-series colors are chosen. "gradient" spreads sub-series evenly between the two colors of dynamicColorGradient, in label order, or across shades of the series color when dynamicColorGradient is unset. "turbo" spreads sub-series evenly across the Turbo colormap, in label order. The `cubehelix-*` modes spread sub-series evenly from dark to light along a cubehelix color scheme, in label order. "gradient" is the default.
|
|
175
175
|
*/
|
|
176
176
|
dynamicColorMode?: "gradient" | "turbo" | "cubehelix-spectrum" | "cubehelix-warm" | "cubehelix-earth" | "cubehelix-cool" | "cubehelix-violet" | "cubehelix-monochrome";
|
|
177
177
|
/**
|
package/package.json
CHANGED
|
@@ -121,11 +121,14 @@ describe("ParentFetchBridge", () => {
|
|
|
121
121
|
},
|
|
122
122
|
[request.port1],
|
|
123
123
|
);
|
|
124
|
-
|
|
124
|
+
// MessagePort delivery has no fixed number of macrotasks, so wait for each hop.
|
|
125
|
+
await vi.waitFor(() => {
|
|
126
|
+
expect(signal).toBeDefined();
|
|
127
|
+
});
|
|
125
128
|
request.port2.postMessage({ type: "abort" });
|
|
126
|
-
await
|
|
127
|
-
|
|
128
|
-
|
|
129
|
+
await vi.waitFor(() => {
|
|
130
|
+
expect(signal?.aborted).toBe(true);
|
|
131
|
+
});
|
|
129
132
|
bridge.close();
|
|
130
133
|
});
|
|
131
134
|
});
|
package/src/layout.generated.ts
CHANGED
|
@@ -177,7 +177,7 @@ export type PlotSeries = PlotSeriesBase & {
|
|
|
177
177
|
*/
|
|
178
178
|
dynamicValueField?: string;
|
|
179
179
|
/**
|
|
180
|
-
* For dynamic sub-series: how sub-series colors are chosen. "gradient" spreads sub-series evenly between the two colors of dynamicColorGradient, in label order, or across shades of the series color when dynamicColorGradient is unset. "turbo" spreads sub-series evenly across the Turbo colormap, in label order. The
|
|
180
|
+
* For dynamic sub-series: how sub-series colors are chosen. "gradient" spreads sub-series evenly between the two colors of dynamicColorGradient, in label order, or across shades of the series color when dynamicColorGradient is unset. "turbo" spreads sub-series evenly across the Turbo colormap, in label order. The `cubehelix-*` modes spread sub-series evenly from dark to light along a cubehelix color scheme, in label order. "gradient" is the default.
|
|
181
181
|
*/
|
|
182
182
|
dynamicColorMode?:
|
|
183
183
|
| "gradient"
|