@texturehq/edges 5.10.1 → 5.11.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/index.d.cts CHANGED
@@ -2459,6 +2459,10 @@ interface EventMarker {
2459
2459
  * Optional event type for styling
2460
2460
  */
2461
2461
  type?: EventMarkerType;
2462
+ /**
2463
+ * Optional per-marker color override; takes precedence over the component-level color prop
2464
+ */
2465
+ color?: string;
2462
2466
  /**
2463
2467
  * Optional metadata to display in tooltip
2464
2468
  */
@@ -2470,7 +2474,8 @@ interface ChartEventMarkersProps {
2470
2474
  */
2471
2475
  events: EventMarker[];
2472
2476
  /**
2473
- * Marker color (defaults to theme-aware color)
2477
+ * Marker color for every event that does not carry its own `color`
2478
+ * (defaults to a theme-aware color per event `type`)
2474
2479
  */
2475
2480
  color?: string;
2476
2481
  /**
package/dist/index.d.ts CHANGED
@@ -2459,6 +2459,10 @@ interface EventMarker {
2459
2459
  * Optional event type for styling
2460
2460
  */
2461
2461
  type?: EventMarkerType;
2462
+ /**
2463
+ * Optional per-marker color override; takes precedence over the component-level color prop
2464
+ */
2465
+ color?: string;
2462
2466
  /**
2463
2467
  * Optional metadata to display in tooltip
2464
2468
  */
@@ -2470,7 +2474,8 @@ interface ChartEventMarkersProps {
2470
2474
  */
2471
2475
  events: EventMarker[];
2472
2476
  /**
2473
- * Marker color (defaults to theme-aware color)
2477
+ * Marker color for every event that does not carry its own `color`
2478
+ * (defaults to a theme-aware color per event `type`)
2474
2479
  */
2475
2480
  color?: string;
2476
2481
  /**