courthive-components 1.1.1 → 1.3.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/ratingDistributionChart/index.d.ts +2 -0
- package/dist/components/ratingDistributionChart/ratingDistributionChart.d.ts +19 -0
- package/dist/components/schedule-page/controller/schedulePageControl.d.ts +3 -0
- package/dist/components/schedule-page/domain/activeStrip.d.ts +72 -0
- package/dist/components/schedule-page/engine/schedulePageStore.d.ts +2 -0
- package/dist/components/schedule-page/index.d.ts +4 -0
- package/dist/components/schedule-page/types.d.ts +3 -0
- package/dist/components/schedule-page/ui/activeStrip.d.ts +46 -0
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +3892 -3401
- package/dist/courthive-components.umd.js +16 -16
- package/dist/index.d.ts +6 -3
- package/dist/styles/participantStyle.d.ts +1 -1
- package/package.json +6 -6
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';
|
|
@@ -63,8 +66,8 @@ export type { TemporalGridConfig, TemporalGridLabels } from './components/tempor
|
|
|
63
66
|
export { TopologyBuilderControl, TopologyStore, topologyToDrawOptions, validateTopology, generatePreviewMatchUps, standardTemplates, buildTopologyCanvas, buildStructureCard, getPortPosition, buildNodeEditor, buildEdgeEditor, buildToolbar, buildTopologyBuilderLayout } from './components/topology-builder';
|
|
64
67
|
export type { TopologyNode, TopologyEdge, TopologyState, TopologyChangeListener, TopologyBuilderConfig, TopologyTemplate, DrawOptionsResult, ValidationError } from './components/topology-builder';
|
|
65
68
|
export type { SchedulingProfile, ScheduleDay, VenueSchedule, RoundProfile, RoundSegment, VenueInfo, CatalogRoundItem, CatalogGroupBy, RoundKey, RoundLocator, DragPayload, DropTarget, DropResult, Severity, ValidationCode, FixAction, ValidationResult, IssueIndex, ProfileStoreState, SchedulingProfileConfig, TemporalAdapter, DemandAdapter, DependencyAdapter, UIPanel } from './components/scheduling-profile';
|
|
66
|
-
export { SchedulePageControl, SchedulePageStore, createSchedulePage, filterMatchUpCatalog, groupMatchUpCatalog, isCompletedStatus, buildScheduleIssueIndex, matchUpLabel, participantLabel, matchUpSearchKey, buildScheduleDateStrip, buildScheduleIssuesPanel, buildMatchUpCatalog, buildMatchUpCard, buildScheduleInspectorPanel, buildCourtGridSlot, buildSchedulePageLayout, buildScheduleGridCell, mapMatchUpToCellData, DEFAULT_SCHEDULE_CELL_CONFIG, activateScheduleCellTypeAhead } from './components/schedule-page';
|
|
67
|
-
export type { CatalogMatchUpItem, CatalogFilters, MatchUpSide, ScheduleDate, ScheduleIssue, ScheduleIssueSeverity, ScheduleIssueIndex, ScheduleIssueCounts, MatchUpCatalogGroupBy, ScheduledBehavior, SchedulingMode, PendingScheduleAction, CatalogMatchUpDragPayload, GridMatchUpDragPayload, SchedulePageDragPayload, SchedulePageConfig, SchedulePageState, SchedulePageChangeListener, ScheduleCellConfig, ScheduleCellField, ParticipantDisplayConfig, ScheduleCellData, ScheduleCellSide, ScheduleCellTypeAheadOptions } from './components/schedule-page';
|
|
69
|
+
export { SchedulePageControl, SchedulePageStore, createSchedulePage, filterMatchUpCatalog, groupMatchUpCatalog, isCompletedStatus, buildScheduleIssueIndex, matchUpLabel, participantLabel, matchUpSearchKey, buildScheduleDateStrip, buildScheduleIssuesPanel, buildMatchUpCatalog, buildMatchUpCard, buildScheduleInspectorPanel, buildCourtGridSlot, buildSchedulePageLayout, buildScheduleGridCell, mapMatchUpToCellData, DEFAULT_SCHEDULE_CELL_CONFIG, activateScheduleCellTypeAhead, buildActiveStripPanel } from './components/schedule-page';
|
|
70
|
+
export type { CatalogMatchUpItem, CatalogFilters, MatchUpSide, ScheduleDate, ScheduleIssue, ScheduleIssueSeverity, ScheduleIssueIndex, ScheduleIssueCounts, MatchUpCatalogGroupBy, ScheduledBehavior, SchedulingMode, PendingScheduleAction, CatalogMatchUpDragPayload, GridMatchUpDragPayload, SchedulePageDragPayload, SchedulePageConfig, SchedulePageState, SchedulePageChangeListener, ScheduleCellConfig, ScheduleCellField, ParticipantDisplayConfig, ScheduleCellData, ScheduleCellSide, ScheduleCellTypeAheadOptions, ActiveStripPanel, ActiveStripPanelCallbacks, ActiveStripPanelData, ActiveStripPanelOptions, ActiveStripCourtMeta } from './components/schedule-page';
|
|
68
71
|
export { createCompositionEditor } from './components/composition-editor/compositionEditor';
|
|
69
72
|
export { CompositionEditorStore } from './components/composition-editor/compositionEditorStore';
|
|
70
73
|
export type { CompositionEditorConfig, SavedComposition, CompositionEditorState, CompositionEditorListener, SectionId as CompositionEditorSectionId, EditorPanel as CompositionEditorPanel } from './components/composition-editor/compositionEditorTypes';
|
|
@@ -10,7 +10,7 @@ export declare const participantNameStyle: (opts?: {
|
|
|
10
10
|
export declare const participantTypeStyle: (opts?: {
|
|
11
11
|
variant?: string;
|
|
12
12
|
}) => string;
|
|
13
|
-
export declare function getParticipantContainerStyle({ drawPosition, sideNumber }: {
|
|
13
|
+
export declare function getParticipantContainerStyle({ drawPosition: _drawPosition, sideNumber }: {
|
|
14
14
|
drawPosition?: number | string;
|
|
15
15
|
sideNumber?: number;
|
|
16
16
|
}): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=22"
|
|
6
6
|
},
|
|
@@ -76,18 +76,18 @@
|
|
|
76
76
|
"@storybook/test-runner": "^0.24.0",
|
|
77
77
|
"@types/d3": "^7.4.3",
|
|
78
78
|
"@types/vanillajs-datepicker": "^1.3.5",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "8.59.
|
|
80
|
-
"@typescript-eslint/parser": "8.59.
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "8.59.2",
|
|
80
|
+
"@typescript-eslint/parser": "8.59.2",
|
|
81
81
|
"@vitest/browser-playwright": "^4.0.16",
|
|
82
82
|
"@vitest/coverage-v8": "^4.0.16",
|
|
83
|
-
"eslint": "10.
|
|
83
|
+
"eslint": "10.3.0",
|
|
84
84
|
"eslint-plugin-sonarjs": "4.0.3",
|
|
85
85
|
"eslint-plugin-storybook": "^10.2.17",
|
|
86
86
|
"gh-pages": "6.3.0",
|
|
87
87
|
"globals": "^17.3.0",
|
|
88
88
|
"happy-dom": "^20.8.3",
|
|
89
89
|
"husky": "9.1.7",
|
|
90
|
-
"lint-staged": "
|
|
90
|
+
"lint-staged": "17.0.2",
|
|
91
91
|
"playwright": "^1.57.0",
|
|
92
92
|
"prettier": "^3.8.1",
|
|
93
93
|
"semver": "7.7.4",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"focus-trap": "^8.0.0",
|
|
108
108
|
"timepicker-ui": "^4.1.2",
|
|
109
109
|
"tippy.js": "6.3.7",
|
|
110
|
-
"tods-competition-factory": "
|
|
110
|
+
"tods-competition-factory": ">=3.4.1",
|
|
111
111
|
"vanillajs-datepicker": "1.3.4"
|
|
112
112
|
}
|
|
113
113
|
}
|