courthive-components 1.2.0 → 1.5.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/components/courts/courtSvgUtil.d.ts +10 -0
- package/dist/components/courts/index.d.ts +2 -0
- package/dist/components/interactive-scoring/buildInteractiveScoringShell.d.ts +8 -4
- package/dist/components/ratingDistributionChart/index.d.ts +2 -0
- package/dist/components/ratingDistributionChart/ratingDistributionChart.d.ts +19 -0
- package/dist/components/schedule-page/types.d.ts +3 -0
- package/dist/components/schedule-page/ui/courtGridSlot.d.ts +4 -1
- package/dist/components/schedule-page/ui/styles.d.ts +1 -1
- package/dist/components/scheduling-profile/types.d.ts +3 -0
- package/dist/components/scheduling-profile/ui/styles.d.ts +1 -0
- package/dist/components/scheduling-profile/ui/venueBoard.d.ts +6 -1
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +3801 -3463
- package/dist/courthive-components.umd.js +18 -18
- package/dist/index.d.ts +4 -1
- package/dist/types.d.ts +1 -0
- package/package.json +11 -8
package/dist/index.d.ts
CHANGED
|
@@ -36,7 +36,8 @@ export type { DrawerOptions } from './components/drawer/drawer';
|
|
|
36
36
|
export { notesToolbar, updateToolbarState, updateHeadingSelect } from './components/notes-toolbar/notesToolbar';
|
|
37
37
|
export type { NotesToolbarOptions } from './components/notes-toolbar/notesToolbar';
|
|
38
38
|
export { tipster, destroyTipster } from './components/popover/tipster';
|
|
39
|
-
export { tennisCourt, basketballCourt, baseballDiamond, hockeyRink, pickleballCourt, badmintonCourt, padelCourt } from './components/courts';
|
|
39
|
+
export { tennisCourt, basketballCourt, baseballDiamond, hockeyRink, pickleballCourt, badmintonCourt, padelCourt, createCourtSvg, resolveCourtSport, sportFromMatchUpFormat, COURT_SVG_RESOURCE_SUB_TYPE } from './components/courts';
|
|
40
|
+
export type { CourtSport } from './components/courts';
|
|
40
41
|
export { courthiveComponentsVersion } from './version';
|
|
41
42
|
export { MATCH_FORMATS } from './constants/matchUpFormats';
|
|
42
43
|
export type { MatchUpFormatCode } from './constants/matchUpFormats';
|
|
@@ -51,6 +52,8 @@ export type { RenderCallback } from './helpers/drawStateManager';
|
|
|
51
52
|
export { burstChart } from './components/burstChart/burstChart';
|
|
52
53
|
export type { SunburstDrawData, SunburstMatchUp, SunburstSide, SegmentData, BurstChartEventHandlers, BurstChartOptions, BurstChartInstance } from './components/burstChart/burstChart';
|
|
53
54
|
export { fromFactoryDrawData, fromLegacyDraw } from './components/burstChart/matchUpTransform';
|
|
55
|
+
export { buildRatingDistributionChart } from './components/ratingDistributionChart';
|
|
56
|
+
export type { RatingDistributionChartOptions, RatingDistributionChartMode } from './components/ratingDistributionChart';
|
|
54
57
|
export { controlBar } from './components/controlBar/controlBar';
|
|
55
58
|
export { toggleOverlay } from './components/controlBar/toggleOverlay';
|
|
56
59
|
export { dropDownButton } from './components/button/dropDownButton';
|
package/dist/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
|
-
"
|
|
3
|
+
"packageManager": "pnpm@11.1.2",
|
|
4
|
+
"version": "1.5.0",
|
|
4
5
|
"engines": {
|
|
5
6
|
"node": ">=22"
|
|
6
7
|
},
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"preview": "vite preview",
|
|
49
50
|
"storybook": "storybook dev -p 6006",
|
|
50
51
|
"build-storybook": "storybook build",
|
|
52
|
+
"test-storybook": "test-storybook --url http://localhost:6006",
|
|
51
53
|
"deploy-storybook": "gh-pages -d storybook-static",
|
|
52
54
|
"pre-commit": "lint-staged",
|
|
53
55
|
"predeploy": "npm run build-storybook",
|
|
@@ -67,8 +69,8 @@
|
|
|
67
69
|
},
|
|
68
70
|
"devDependencies": {
|
|
69
71
|
"@chromatic-com/storybook": "^5.0.0",
|
|
70
|
-
"@commitlint/cli": "
|
|
71
|
-
"@commitlint/config-conventional": "
|
|
72
|
+
"@commitlint/cli": "21.0.0",
|
|
73
|
+
"@commitlint/config-conventional": "21.0.0",
|
|
72
74
|
"@eslint/js": "^10.0.1",
|
|
73
75
|
"@fortawesome/fontawesome-free": "^7.2.0",
|
|
74
76
|
"@storybook/addon-docs": "^10.2.17",
|
|
@@ -76,10 +78,11 @@
|
|
|
76
78
|
"@storybook/test-runner": "^0.24.0",
|
|
77
79
|
"@types/d3": "^7.4.3",
|
|
78
80
|
"@types/vanillajs-datepicker": "^1.3.5",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "8.59.
|
|
80
|
-
"@typescript-eslint/parser": "8.59.
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "8.59.3",
|
|
82
|
+
"@typescript-eslint/parser": "8.59.3",
|
|
81
83
|
"@vitest/browser-playwright": "^4.0.16",
|
|
82
84
|
"@vitest/coverage-v8": "^4.0.16",
|
|
85
|
+
"@vitest/ui": "^4.0.16",
|
|
83
86
|
"eslint": "10.3.0",
|
|
84
87
|
"eslint-plugin-sonarjs": "4.0.3",
|
|
85
88
|
"eslint-plugin-storybook": "^10.2.17",
|
|
@@ -87,14 +90,14 @@
|
|
|
87
90
|
"globals": "^17.3.0",
|
|
88
91
|
"happy-dom": "^20.8.3",
|
|
89
92
|
"husky": "9.1.7",
|
|
90
|
-
"lint-staged": "
|
|
93
|
+
"lint-staged": "17.0.4",
|
|
91
94
|
"playwright": "^1.57.0",
|
|
92
95
|
"prettier": "^3.8.1",
|
|
93
96
|
"semver": "7.7.4",
|
|
94
97
|
"storybook": "^10.2.17",
|
|
95
98
|
"tabulator-tables": "6.4.0",
|
|
96
99
|
"typescript": "^6.0.2",
|
|
97
|
-
"vite": "8.0.
|
|
100
|
+
"vite": "8.0.12",
|
|
98
101
|
"vite-plugin-dts": "^5.0.0",
|
|
99
102
|
"vitest": "^4.0.16"
|
|
100
103
|
},
|
|
@@ -107,7 +110,7 @@
|
|
|
107
110
|
"focus-trap": "^8.0.0",
|
|
108
111
|
"timepicker-ui": "^4.1.2",
|
|
109
112
|
"tippy.js": "6.3.7",
|
|
110
|
-
"tods-competition-factory": "
|
|
113
|
+
"tods-competition-factory": ">=3.6.0",
|
|
111
114
|
"vanillajs-datepicker": "1.3.4"
|
|
112
115
|
}
|
|
113
116
|
}
|