@texturehq/edges 2.2.5 → 2.2.6
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/{colors-B5VySgyM.d.ts → colors-BR-DX69l.d.ts} +17 -0
- package/dist/{colors-Be1yXUVs.d.cts → colors-DsSW-pdc.d.cts} +17 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -4
- package/dist/index.d.ts +7 -4
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/rhf/index.cjs +2 -2
- package/dist/rhf/index.cjs.map +1 -1
- package/dist/rhf/index.d.cts +2 -1
- package/dist/rhf/index.d.ts +2 -1
- package/dist/rhf/index.js +1 -1
- package/dist/rhf/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
- package/scripts/check-legacy-font-colors.mjs +4 -5
|
@@ -238,6 +238,11 @@ interface TooltipSeries {
|
|
|
238
238
|
type?: "area" | "line" | "bar" | "event";
|
|
239
239
|
category?: string;
|
|
240
240
|
categoryColor?: string;
|
|
241
|
+
/** Optional extra rows to display in the tooltip below the category row. */
|
|
242
|
+
extraTooltipRows?: Array<{
|
|
243
|
+
label: string;
|
|
244
|
+
value: string;
|
|
245
|
+
}>;
|
|
241
246
|
}
|
|
242
247
|
interface SeriesMetadata {
|
|
243
248
|
label: string;
|
|
@@ -315,6 +320,18 @@ interface BaseDataPoint {
|
|
|
315
320
|
*/
|
|
316
321
|
showTooltipMarker?: boolean;
|
|
317
322
|
category?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Optional extra rows to display in the tooltip for this data point, below
|
|
325
|
+
* the series value and category rows. Purely presentational — does not
|
|
326
|
+
* affect chart drawing, scales, or CSV export. Used by consumers that need
|
|
327
|
+
* to surface point-level context (e.g. per-sample geolocation status like
|
|
328
|
+
* home/away). Each row is `{ label, value }` and rendered as
|
|
329
|
+
* `<label>: <value>` in the tooltip.
|
|
330
|
+
*/
|
|
331
|
+
extraTooltipRows?: Array<{
|
|
332
|
+
label: string;
|
|
333
|
+
value: string;
|
|
334
|
+
}>;
|
|
318
335
|
}
|
|
319
336
|
/**
|
|
320
337
|
* Canonical `AreaSeries` baseline accessor: the per-point band floor. Pass as
|
|
@@ -238,6 +238,11 @@ interface TooltipSeries {
|
|
|
238
238
|
type?: "area" | "line" | "bar" | "event";
|
|
239
239
|
category?: string;
|
|
240
240
|
categoryColor?: string;
|
|
241
|
+
/** Optional extra rows to display in the tooltip below the category row. */
|
|
242
|
+
extraTooltipRows?: Array<{
|
|
243
|
+
label: string;
|
|
244
|
+
value: string;
|
|
245
|
+
}>;
|
|
241
246
|
}
|
|
242
247
|
interface SeriesMetadata {
|
|
243
248
|
label: string;
|
|
@@ -315,6 +320,18 @@ interface BaseDataPoint {
|
|
|
315
320
|
*/
|
|
316
321
|
showTooltipMarker?: boolean;
|
|
317
322
|
category?: string;
|
|
323
|
+
/**
|
|
324
|
+
* Optional extra rows to display in the tooltip for this data point, below
|
|
325
|
+
* the series value and category rows. Purely presentational — does not
|
|
326
|
+
* affect chart drawing, scales, or CSV export. Used by consumers that need
|
|
327
|
+
* to surface point-level context (e.g. per-sample geolocation status like
|
|
328
|
+
* home/away). Each row is `{ label, value }` and rendered as
|
|
329
|
+
* `<label>: <value>` in the tooltip.
|
|
330
|
+
*/
|
|
331
|
+
extraTooltipRows?: Array<{
|
|
332
|
+
label: string;
|
|
333
|
+
value: string;
|
|
334
|
+
}>;
|
|
318
335
|
}
|
|
319
336
|
/**
|
|
320
337
|
* Canonical `AreaSeries` baseline accessor: the per-point band floor. Pass as
|