courthive-components 7.1.2 → 7.2.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.
@@ -6,6 +6,8 @@ export type ParticipantPath = {
6
6
  won: string[];
7
7
  /** the matchUps ahead while the participant is still alive, by draw position */
8
8
  projected: string[];
9
+ /** the matchUps whose outgoing connector leads along the projection: the latest, then each projected but the last */
10
+ leads: string[];
9
11
  };
10
12
  /**
11
13
  * Index a structure's matchUps by participant, for path highlighting. `projectable` is false for draws whose
@@ -0,0 +1,6 @@
1
+ import { Composition } from '../types';
2
+ /**
3
+ * Whether a structure rendered with this composition draws the lines between rounds: its
4
+ * `configuration.connectors` when set, otherwise the theme's own choice. For a control that shows the setting.
5
+ */
6
+ export declare function showsConnectors(composition?: Pick<Composition, 'theme' | 'configuration'>): boolean;