courthive-components 6.2.1 → 6.4.2
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/components/inline-scoring/renderInlineMatchUp.d.ts +1 -1
- package/dist/components/matchUpFormat/dropdowns.d.ts +20 -0
- package/dist/components/matchUpFormat/machine/capabilities.d.ts +12 -0
- package/dist/components/matchUpFormat/machine/codec.d.ts +20 -0
- package/dist/components/matchUpFormat/machine/edits.d.ts +16 -0
- package/dist/components/matchUpFormat/machine/pointsTotal.d.ts +29 -0
- package/dist/components/matchUpFormat/machine/types.d.ts +200 -0
- package/dist/components/matchUpFormat/machine/view.d.ts +76 -0
- package/dist/components/matchUpFormat/matchUpFormat.d.ts +19 -3
- package/dist/components/schedule-page/controller/schedulePageControl.d.ts +2 -0
- package/dist/components/schedule-page/domain/utils.d.ts +2 -2
- package/dist/components/schedule-page/engine/schedulePageStore.d.ts +9 -0
- package/dist/components/scoring/logic/dynamicSetsLogic.d.ts +18 -3
- package/dist/components/scoring/logic/engineOutcome.d.ts +28 -0
- package/dist/components/scoring/scoreEntryCard.d.ts +13 -1
- package/dist/components/scoring/scoreEntryDialog.d.ts +11 -1
- package/dist/components/scoring/types.d.ts +7 -0
- package/dist/components/topology-builder/types.d.ts +2 -0
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +9078 -8718
- package/dist/courthive-components.umd.js +50 -50
- package/dist/index.d.ts +3 -1
- package/package.json +9 -7
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export type { StatusCodeGroups, StatusCodeEntry } from './components/scoring/log
|
|
|
35
35
|
export { openScoreEntryDialog } from './components/scoring/scoreEntryDialog';
|
|
36
36
|
export type { ScoreEntryDialogParams, ScoreEntryApproach, ScoreEntryDialog } from './components/scoring/scoreEntryDialog';
|
|
37
37
|
export type { ScoreEntryOutcome, ScoreEntryCard } from './components/scoring/scoreEntryCard';
|
|
38
|
+
export { toEngineOutcome } from './components/scoring/logic/engineOutcome';
|
|
39
|
+
export type { EngineOutcome as ScoreEntryEngineOutcome } from './components/scoring/logic/engineOutcome';
|
|
38
40
|
export { getSetFormatForIndex, isSetTiebreakOnly, isSetTimed, getMaxAllowedScore, isSetComplete, getSetWinner, isMatchComplete, getMatchWinner, calculateComplement, shouldApplySmartComplement, shouldShowTiebreak, shouldCreateNextSet, buildSetScore } from './components/scoring/logic/dynamicSetsLogic';
|
|
39
41
|
export type { SetFormat, MatchUpConfig, SmartComplementResult } from './components/scoring/logic/dynamicSetsLogic';
|
|
40
42
|
export { drawer, initDrawer } from './components/drawer/drawer';
|
|
@@ -90,7 +92,7 @@ export { competitivenessColor, getCompetitivenessBand, COMPETITIVENESS_COLORS, N
|
|
|
90
92
|
export type { CompetitiveBands } from './components/burstChart/competitiveness';
|
|
91
93
|
export { buildRatingDistributionChart } from './components/ratingDistributionChart';
|
|
92
94
|
export { buildLadderChart } from './components/ladderChart';
|
|
93
|
-
export type { LadderChartConfig, LadderChartDatum, LadderChartInstance, LadderChartMargins
|
|
95
|
+
export type { LadderChartConfig, LadderChartDatum, LadderChartInstance, LadderChartMargins } from './components/ladderChart';
|
|
94
96
|
export type { RatingDistributionChartOptions, RatingDistributionChartMode } from './components/ratingDistributionChart';
|
|
95
97
|
export { buildPressureSmallMultiples, buildPathDifficultyBar, resolveParticipantRating, buildPressureSeries, getProjectedPressure, buildPressureChart, buildPressureTable, getActualPressure, byPathDifficulty, winProbability, sharedYDomain, ratingToElo, PRESSURE_UNSUPPORTED } from './components/pressureChart';
|
|
96
98
|
export type { ParticipantPressureProjection, PressureSmallMultiplesOptions, GetProjectedPressureParams, ParticipantActualPressure, PressureUnsupportedReason, ProjectedPressureResult, PathDifficultyBarOptions, ProjectedRoundPressure, PressureChartOptions, ActualRoundPressure, PressureSeriesPoint, PossibleOpponent, PressureSeries, ResolvedRating } from './components/pressureChart';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
3
|
"packageManager": "pnpm@12.9.1",
|
|
4
|
-
"version": "6.2
|
|
4
|
+
"version": "6.4.2",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
7
7
|
},
|
|
@@ -40,9 +40,10 @@
|
|
|
40
40
|
"scripts": {
|
|
41
41
|
"commits": "git log $(git describe --tags --abbrev=0)..HEAD --oneline --no-merges --pretty=format:'%s: %h' | sed '/courthive-components/d'",
|
|
42
42
|
"release": "npm run release:patch",
|
|
43
|
-
"test": "vitest run",
|
|
44
|
-
"test:
|
|
45
|
-
"test:
|
|
43
|
+
"test": "vitest run --project unit",
|
|
44
|
+
"test:stories": "vitest run --project storybook",
|
|
45
|
+
"test:watch": "vitest --project unit",
|
|
46
|
+
"test:ui": "vitest --ui --project unit",
|
|
46
47
|
"dev": "vite",
|
|
47
48
|
"build": "tsc && vite build",
|
|
48
49
|
"check-types": "tsc --noEmit",
|
|
@@ -50,7 +51,6 @@
|
|
|
50
51
|
"preview": "vite preview",
|
|
51
52
|
"storybook": "storybook dev -p 6006",
|
|
52
53
|
"build-storybook": "storybook build",
|
|
53
|
-
"test-storybook": "test-storybook --url http://localhost:6006",
|
|
54
54
|
"deploy-storybook": "gh-pages -d storybook-static",
|
|
55
55
|
"pre-commit": "lint-staged",
|
|
56
56
|
"predeploy": "pnpm build-storybook",
|
|
@@ -75,13 +75,15 @@
|
|
|
75
75
|
"@eslint/js": "^10.0.1",
|
|
76
76
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
77
77
|
"@storybook/addon-docs": "^10.2.17",
|
|
78
|
+
"@storybook/addon-vitest": "^10.6.1",
|
|
78
79
|
"@storybook/html-vite": "^10.2.17",
|
|
79
|
-
"@storybook/test-runner": "^0.26.0",
|
|
80
80
|
"@types/d3": "^7.4.3",
|
|
81
81
|
"@types/leaflet": "^1.9.12",
|
|
82
82
|
"@types/vanillajs-datepicker": "^1.3.5",
|
|
83
83
|
"@typescript-eslint/eslint-plugin": "8.71.0",
|
|
84
84
|
"@typescript-eslint/parser": "8.71.0",
|
|
85
|
+
"@vitest/browser": "^5.0.3",
|
|
86
|
+
"@vitest/browser-playwright": "^5.0.3",
|
|
85
87
|
"@vitest/coverage-v8": "^5.0.0",
|
|
86
88
|
"@vitest/ui": "^5.0.0",
|
|
87
89
|
"eslint": "10.12.0",
|
|
@@ -98,7 +100,7 @@
|
|
|
98
100
|
"semver": "7.8.5",
|
|
99
101
|
"storybook": "^10.2.17",
|
|
100
102
|
"tabulator-tables": "6.6.1",
|
|
101
|
-
"tods-competition-factory": "7.
|
|
103
|
+
"tods-competition-factory": "7.10.0",
|
|
102
104
|
"typescript": "^6.0.2",
|
|
103
105
|
"vite": "8.3.2",
|
|
104
106
|
"vite-plugin-dts": "^5.0.0",
|