courthive-components 4.4.0 → 5.0.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.ts CHANGED
@@ -31,6 +31,7 @@ export type { FlightProfileConfig } from './components/flightProfile/flightProfi
31
31
  export { scoringModal } from './components/scoring/scoringModal';
32
32
  export { setScoringConfig, getScoringConfig, resetScoringConfig } from './components/scoring/config';
33
33
  export type { ScoringModalParams, ScoringModalLabels, ScoreOutcome, SetScore } from './components/scoring/types';
34
+ export type { StatusCodeGroups, StatusCodeEntry } from './components/scoring/logic/statusCodes';
34
35
  export { getSetFormatForIndex, isSetTiebreakOnly, isSetTimed, getMaxAllowedScore, isSetComplete, getSetWinner, isMatchComplete, getMatchWinner, calculateComplement, shouldApplySmartComplement, shouldShowTiebreak, shouldCreateNextSet, buildSetScore } from './components/scoring/logic/dynamicSetsLogic';
35
36
  export type { SetFormat, MatchUpConfig, SmartComplementResult } from './components/scoring/logic/dynamicSetsLogic';
36
37
  export { drawer, initDrawer } from './components/drawer/drawer';
package/dist/types.d.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { SideExitProvenance } from 'tods-competition-factory';
2
+ export type { SideExitProvenance, SideExitProvenanceEntry } from 'tods-competition-factory';
1
3
  export interface MatchUp {
2
4
  matchUpId: string;
3
5
  matchUpType?: 'SINGLES' | 'DOUBLES' | 'TEAM' | 'HYBRID';
@@ -25,6 +27,7 @@ export interface MatchUp {
25
27
  score?: Score;
26
28
  schedule?: Schedule;
27
29
  readyToScore?: boolean;
30
+ sideExitProvenance?: SideExitProvenance;
28
31
  [key: string]: any;
29
32
  }
30
33
  export interface Side {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "courthive-components",
3
3
  "packageManager": "pnpm@12.3.4",
4
- "version": "4.4.0",
4
+ "version": "5.0.0",
5
5
  "engines": {
6
6
  "node": ">=22"
7
7
  },
@@ -98,7 +98,7 @@
98
98
  "semver": "7.8.5",
99
99
  "storybook": "^10.2.17",
100
100
  "tabulator-tables": "6.5.2",
101
- "tods-competition-factory": "6.38.0",
101
+ "tods-competition-factory": "7.0.0",
102
102
  "typescript": "^6.0.2",
103
103
  "vite": "8.2.2",
104
104
  "vite-plugin-dts": "^5.0.0",
@@ -123,7 +123,7 @@
123
123
  "vanillajs-datepicker": "1.3.4"
124
124
  },
125
125
  "peerDependencies": {
126
- "tods-competition-factory": "^6.0.0",
126
+ "tods-competition-factory": "^7.0.0",
127
127
  "leaflet": "^1.9.4"
128
128
  },
129
129
  "peerDependenciesMeta": {