courthive-components 1.10.0 → 2.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/components/editor/notesEditor.d.ts +13 -0
- package/dist/components/hive-id-login/buildHiveIDLogin.d.ts +4 -0
- package/dist/components/hive-id-login/hiveIDClient.d.ts +14 -0
- package/dist/components/hive-id-login/index.d.ts +3 -0
- package/dist/components/hive-id-login/styles.d.ts +16 -0
- package/dist/components/hive-id-login/types.d.ts +115 -0
- package/dist/components/interactive-scoring/types.d.ts +8 -0
- package/dist/components/schedule-page/domain/matchUpCatalogProjections.d.ts +11 -0
- package/dist/components/schedule-page/index.d.ts +1 -1
- package/dist/components/schedule-page/types.d.ts +5 -0
- package/dist/components/schedule-page/ui/matchUpCard.d.ts +8 -0
- package/dist/components/scoring/logic/dynamicSetsLogic.d.ts +2 -0
- package/dist/components/team-card/buildTeamCard.d.ts +2 -0
- package/dist/components/team-card/index.d.ts +2 -0
- package/dist/components/team-card/styles.d.ts +13 -0
- package/dist/components/team-card/types.d.ts +27 -0
- package/dist/components/temporal-grid/controller/temporalGridControl.d.ts +21 -8
- package/dist/components/temporal-grid/controller/viewProjections.d.ts +5 -5
- package/dist/components/temporal-grid/engine/viewState.d.ts +3 -3
- package/dist/components/temporal-grid/index.d.ts +1 -1
- package/dist/components/temporal-grid/timeline/types.d.ts +2 -2
- package/dist/components/temporal-grid/ui/blockPopover.d.ts +2 -2
- package/dist/components/temporal-grid/ui/temporalGrid.d.ts +3 -3
- package/dist/courthive-components.css +1 -1
- package/dist/courthive-components.es.js +5903 -5486
- package/dist/courthive-components.umd.js +47 -47
- package/dist/index.d.ts +7 -1
- package/dist/types.d.ts +3 -3
- package/package.json +11 -4
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export { drawer, initDrawer } from './components/drawer/drawer';
|
|
|
35
35
|
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
|
+
export { createNotesEditor } from './components/editor/notesEditor';
|
|
39
|
+
export type { NotesEditorOptions, NotesEditorHandle } from './components/editor/notesEditor';
|
|
38
40
|
export { tipster, destroyTipster } from './components/popover/tipster';
|
|
39
41
|
export { tennisCourt, basketballCourt, baseballDiamond, hockeyRink, pickleballCourt, badmintonCourt, padelCourt, createCourtSvg, resolveCourtSport, sportFromMatchUpFormat, COURT_SVG_RESOURCE_SUB_TYPE } from './components/courts';
|
|
40
42
|
export type { CourtSport } from './components/courts';
|
|
@@ -46,12 +48,16 @@ export { buildVenueCard, buildVenueSkeletonCard, mapVenueToCardData, DEFAULT_VEN
|
|
|
46
48
|
export type { MapVenueOptions, VenueCardCallbacks, VenueCardConfig, VenueCardCornerField, VenueCardData, VenueCardField } from './components/venue-card';
|
|
47
49
|
export { buildCourtCard, buildCourtSkeletonCard, mapCourtToCardData, DEFAULT_COURT_CARD_CONFIG, mergeCourtCardConfig } from './components/court-card';
|
|
48
50
|
export type { CourtCardCallbacks, CourtCardConfig, CourtCardCornerField, CourtCardData, CourtCardField, MapCourtOptions } from './components/court-card';
|
|
51
|
+
export { buildTeamCard } from './components/team-card';
|
|
52
|
+
export type { TeamCardCallbacks, TeamCardData } from './components/team-card';
|
|
49
53
|
export { buildCompetitivenessBar, buildCompetitivenessDonut, aggregateCompetitiveness, totalBuckets, COMPETITIVENESS_BUCKETS } from './components/competitivenessBar';
|
|
50
54
|
export type { BuildCompetitivenessBarResult, BuildCompetitivenessDonutResult, CompetitivenessBucket, CompetitivenessBuckets } from './components/competitivenessBar';
|
|
51
55
|
export { buildDrawCard, buildDrawSkeletonCard, mapDrawDefinitionToCardData, DEFAULT_DRAW_CARD_CONFIG, mergeDrawCardConfig } from './components/draw-card';
|
|
52
56
|
export type { DrawCardCallbacks, DrawCardConfig, DrawCardCornerField, DrawCardData, DrawCardField, DrawMatchUpCounts, DrawStatusKind, DrawStatusPill, MapDrawOptions } from './components/draw-card';
|
|
53
57
|
export { buildEventCard, buildEventSkeletonCard, mapEventToCardData, resolveEventStatus, DEFAULT_EVENT_CARD_CONFIG, EVENT_CARD_LIGHT_MODE_THRESHOLD, mergeEventCardConfig } from './components/event-card';
|
|
54
58
|
export type { EventCardCallbacks, EventCardConfig, EventCardCornerField, EventCardData, EventCardField, EventGenderKind, EventMatchUpCounts, EventStatusKind, EventStatusPill, EventStatusResolverInput, EventTypeKind, MapEventOptions } from './components/event-card';
|
|
59
|
+
export { buildHiveIDLogin, completeMagicLink, consumeMagicLink, isExistingUserConflict, requestMagicLink, signup, verifyExisting } from './components/hive-id-login';
|
|
60
|
+
export type { CachedPersonFields, HiveIDAuthenticatedDetail, HiveIDClientError, HiveIDFederationId, HiveIDLoginConfig, HiveIDLoginShell, HiveIDMode, MagicLinkConsumeRequest, MagicLinkConsumeResponse, MagicLinkRequest, MagicLinkResponse, SignupCandidate, SignupRequest, SignupResolved, SignupResponse, VerifyExistingRequest, VerifyExistingResponse } from './components/hive-id-login';
|
|
55
61
|
export { courthiveComponentsVersion } from './version';
|
|
56
62
|
export { MATCH_FORMATS } from './constants/matchUpFormats';
|
|
57
63
|
export type { MatchUpFormatCode } from './constants/matchUpFormats';
|
|
@@ -83,7 +89,7 @@ export type { TemporalGridConfig, TemporalGridLabels } from './components/tempor
|
|
|
83
89
|
export { TopologyBuilderControl, TopologyStore, topologyToDrawOptions, validateTopology, generatePreviewMatchUps, standardTemplates, buildTopologyCanvas, buildStructureCard, getPortPosition, buildNodeEditor, buildEdgeEditor, buildToolbar, buildTopologyBuilderLayout } from './components/topology-builder';
|
|
84
90
|
export type { TopologyNode, TopologyEdge, TopologyState, TopologyChangeListener, TopologyBuilderConfig, TopologyTemplate, DrawOptionsResult, ValidationError } from './components/topology-builder';
|
|
85
91
|
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';
|
|
86
|
-
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';
|
|
92
|
+
export { SchedulePageControl, SchedulePageStore, createSchedulePage, filterMatchUpCatalog, groupMatchUpCatalog, computeBaseRoundByEvent, isCompletedStatus, buildScheduleIssueIndex, matchUpLabel, participantLabel, matchUpSearchKey, buildScheduleDateStrip, buildScheduleIssuesPanel, buildMatchUpCatalog, buildMatchUpCard, buildScheduleInspectorPanel, buildCourtGridSlot, buildSchedulePageLayout, buildScheduleGridCell, mapMatchUpToCellData, DEFAULT_SCHEDULE_CELL_CONFIG, activateScheduleCellTypeAhead, buildActiveStripPanel } from './components/schedule-page';
|
|
87
93
|
export type { CatalogMatchUpItem, CatalogFilters, MatchUpSide, ScheduleDate, ScheduleIssue, ScheduleIssueSeverity, ScheduleIssueIndex, ScheduleIssueCounts, MatchUpCatalogGroupBy, ScheduledBehavior, SchedulingMode, PendingScheduleAction, CatalogMatchUpDragPayload, GridMatchUpDragPayload, SchedulePageDragPayload, SchedulePageConfig, SchedulePageCatalogState, SchedulePageState, SchedulePageChangeListener, ScheduleCellConfig, ScheduleCellField, ParticipantDisplayConfig, ScheduleCellData, ScheduleCellSide, ScheduleCellTypeAheadOptions, ActiveStripPanel, ActiveStripPanelCallbacks, ActiveStripPanelData, ActiveStripPanelOptions, ActiveStripCourtMeta } from './components/schedule-page';
|
|
88
94
|
export { createCompositionEditor } from './components/composition-editor/compositionEditor';
|
|
89
95
|
export { CompositionEditorStore } from './components/composition-editor/compositionEditorStore';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface MatchUp {
|
|
2
2
|
matchUpId: string;
|
|
3
|
-
matchUpType?: 'SINGLES' | 'DOUBLES';
|
|
3
|
+
matchUpType?: 'SINGLES' | 'DOUBLES' | 'TEAM' | 'HYBRID';
|
|
4
4
|
matchUpFormat?: string;
|
|
5
5
|
matchUpStatus?: string;
|
|
6
6
|
winningSide?: number;
|
|
@@ -28,7 +28,7 @@ export interface MatchUp {
|
|
|
28
28
|
[key: string]: any;
|
|
29
29
|
}
|
|
30
30
|
export interface Side {
|
|
31
|
-
sideNumber
|
|
31
|
+
sideNumber?: number;
|
|
32
32
|
drawPosition?: number;
|
|
33
33
|
participant?: Participant;
|
|
34
34
|
participantFed?: string;
|
|
@@ -44,7 +44,7 @@ export interface Participant {
|
|
|
44
44
|
participantId: string;
|
|
45
45
|
participantName?: string;
|
|
46
46
|
participantOtherName?: string;
|
|
47
|
-
participantType?: 'INDIVIDUAL' | 'PAIR' | 'TEAM';
|
|
47
|
+
participantType?: 'INDIVIDUAL' | 'PAIR' | 'TEAM' | 'GROUP';
|
|
48
48
|
individualParticipants?: IndividualParticipant[];
|
|
49
49
|
entryStatus?: string;
|
|
50
50
|
luckyAdvancement?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "courthive-components",
|
|
3
|
-
"packageManager": "pnpm@11.
|
|
4
|
-
"version": "
|
|
3
|
+
"packageManager": "pnpm@11.5.0",
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22"
|
|
7
7
|
},
|
|
@@ -102,15 +102,22 @@
|
|
|
102
102
|
"vitest": "^4.0.16"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
+
"@tiptap/core": "^3.22.2",
|
|
106
|
+
"@tiptap/extension-color": "^3.22.2",
|
|
107
|
+
"@tiptap/extension-highlight": "^3.22.2",
|
|
108
|
+
"@tiptap/extension-text-align": "^3.22.2",
|
|
109
|
+
"@tiptap/extension-text-style": "^3.22.2",
|
|
110
|
+
"@tiptap/extension-youtube": "^3.22.2",
|
|
111
|
+
"@tiptap/starter-kit": "^3.22.2",
|
|
105
112
|
"awesomplete": "1.1.7",
|
|
106
113
|
"class-variance-authority": "0.7.1",
|
|
107
114
|
"classnames": "2.5.1",
|
|
108
115
|
"d3": "^7.9.0",
|
|
109
|
-
"dayjs": "1.11.
|
|
116
|
+
"dayjs": "1.11.21",
|
|
110
117
|
"focus-trap": "^8.0.0",
|
|
111
118
|
"timepicker-ui": "^4.1.2",
|
|
112
119
|
"tippy.js": "6.3.7",
|
|
113
|
-
"tods-competition-factory": "
|
|
120
|
+
"tods-competition-factory": "5.0.0",
|
|
114
121
|
"vanillajs-datepicker": "1.3.4"
|
|
115
122
|
}
|
|
116
123
|
}
|