courthive-components 2.0.0 → 3.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.
Files changed (31) hide show
  1. package/dist/components/{temporal-grid/controller/temporalGridControl.d.ts → availability-grid/controller/availabilityGridControl.d.ts} +21 -7
  2. package/dist/components/{temporal-grid → availability-grid}/engine/viewState.d.ts +1 -1
  3. package/dist/components/{temporal-grid → availability-grid}/index.d.ts +6 -6
  4. package/dist/components/{temporal-grid/ui/temporalGrid.d.ts → availability-grid/ui/availabilityGrid.d.ts} +11 -11
  5. package/dist/components/{temporal-grid → availability-grid}/ui/blockPopover.d.ts +15 -0
  6. package/dist/components/modal/mockParticipants.d.ts +1 -1
  7. package/dist/components/renderStructure/renderStructureMinimap.d.ts +7 -0
  8. package/dist/components/schedule-page/domain/activeStrip.d.ts +1 -1
  9. package/dist/components/schedule-page/index.d.ts +1 -1
  10. package/dist/components/schedule-page/types.d.ts +14 -0
  11. package/dist/components/schedule-page/ui/activeStrip.d.ts +23 -0
  12. package/dist/components/scheduling-profile/domain/validateProfile.d.ts +4 -3
  13. package/dist/components/scheduling-profile/index.d.ts +1 -1
  14. package/dist/components/scheduling-profile/types.d.ts +3 -3
  15. package/dist/courthive-components.css +1 -1
  16. package/dist/courthive-components.es.js +4789 -4669
  17. package/dist/courthive-components.umd.js +38 -38
  18. package/dist/index.d.ts +6 -4
  19. package/package.json +9 -9
  20. /package/dist/components/{temporal-grid → availability-grid}/controller/viewProjections.d.ts +0 -0
  21. /package/dist/components/{temporal-grid → availability-grid}/timeline/CourtTimeline.d.ts +0 -0
  22. /package/dist/components/{temporal-grid → availability-grid}/timeline/InteractionManager.d.ts +0 -0
  23. /package/dist/components/{temporal-grid → availability-grid}/timeline/ItemRenderer.d.ts +0 -0
  24. /package/dist/components/{temporal-grid → availability-grid}/timeline/RowLayout.d.ts +0 -0
  25. /package/dist/components/{temporal-grid → availability-grid}/timeline/TimeAxis.d.ts +0 -0
  26. /package/dist/components/{temporal-grid → availability-grid}/timeline/TimeScale.d.ts +0 -0
  27. /package/dist/components/{temporal-grid → availability-grid}/timeline/types.d.ts +0 -0
  28. /package/dist/components/{temporal-grid → availability-grid}/ui/courtAvailabilityModal.d.ts +0 -0
  29. /package/dist/components/{temporal-grid → availability-grid}/ui/modernTimePicker.d.ts +0 -0
  30. /package/dist/components/{temporal-grid → availability-grid}/ui/statsBar.d.ts +0 -0
  31. /package/dist/components/{temporal-grid → availability-grid}/ui/viewToolbar.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -8,6 +8,8 @@ export { compositions } from './compositions/compositions';
8
8
  export { resolvePublishedComposition } from './compositions/resolvePublishedComposition';
9
9
  export type { DisplayExtensionValue } from './compositions/resolvePublishedComposition';
10
10
  export { renderRound } from './components/renderStructure/renderRound';
11
+ export { buildStructureMinimap } from './components/renderStructure/renderStructureMinimap';
12
+ export type { StructureMinimapOptions } from './components/renderStructure/renderStructureMinimap';
11
13
  export { renderSchematicStructure, renderSchematicRound, renderSchematicMatchUp } from './components/renderSchematicStructure';
12
14
  export type { SchematicMatchUp } from './components/renderSchematicStructure';
13
15
  export { cModal } from './components/modal/cmodal';
@@ -84,13 +86,13 @@ export { barButton } from './components/button/barButton';
84
86
  export { selectItem } from './components/modal/selectItem';
85
87
  export type { SelectItemParams, SelectItemOption } from './components/modal/selectItem';
86
88
  export { SchedulingProfileControl, ProfileStore, createSchedulingProfile, validateProfile, buildIssueIndex, applyDropCommit, filterCatalog, groupCatalog, getPlannedRoundKeys, getVenueRounds, getRoundAt, findIssuesForLocator, maxSeverity, buildDateStrip, buildVenueBoard, buildRoundCatalog, buildIssuesPanel, buildRoundCard, createCardPopoverManager, buildSchedulingProfileLayout } from './components/scheduling-profile';
87
- export { createTemporalGrid, TemporalGrid, showCourtAvailabilityModal } from './components/temporal-grid';
88
- export type { TemporalGridConfig, TemporalGridLabels } from './components/temporal-grid';
89
+ export { createAvailabilityGrid, AvailabilityGrid, showCourtAvailabilityModal } from './components/availability-grid';
90
+ export type { AvailabilityGridConfig, AvailabilityGridLabels } from './components/availability-grid';
89
91
  export { TopologyBuilderControl, TopologyStore, topologyToDrawOptions, validateTopology, generatePreviewMatchUps, standardTemplates, buildTopologyCanvas, buildStructureCard, getPortPosition, buildNodeEditor, buildEdgeEditor, buildToolbar, buildTopologyBuilderLayout } from './components/topology-builder';
90
92
  export type { TopologyNode, TopologyEdge, TopologyState, TopologyChangeListener, TopologyBuilderConfig, TopologyTemplate, DrawOptionsResult, ValidationError } from './components/topology-builder';
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';
93
+ export type { SchedulingProfile, ScheduleDay, VenueSchedule, RoundProfile, RoundSegment, VenueInfo, CatalogRoundItem, CatalogGroupBy, RoundKey, RoundLocator, DragPayload, DropTarget, DropResult, Severity, ValidationCode, FixAction, ValidationResult, IssueIndex, ProfileStoreState, SchedulingProfileConfig, AvailabilityAdapter, DemandAdapter, DependencyAdapter, UIPanel } from './components/scheduling-profile';
92
94
  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';
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';
95
+ 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, ActiveStripCourtBlock } from './components/schedule-page';
94
96
  export { createCompositionEditor } from './components/composition-editor/compositionEditor';
95
97
  export { CompositionEditorStore } from './components/composition-editor/compositionEditorStore';
96
98
  export type { CompositionEditorConfig, SavedComposition, CompositionEditorState, CompositionEditorListener, SectionId as CompositionEditorSectionId, EditorPanel as CompositionEditorPanel } from './components/composition-editor/compositionEditorTypes';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "courthive-components",
3
3
  "packageManager": "pnpm@11.5.0",
4
- "version": "2.0.0",
4
+ "version": "3.0.0",
5
5
  "engines": {
6
6
  "node": ">=22"
7
7
  },
@@ -69,8 +69,8 @@
69
69
  },
70
70
  "devDependencies": {
71
71
  "@chromatic-com/storybook": "^5.0.0",
72
- "@commitlint/cli": "21.0.1",
73
- "@commitlint/config-conventional": "21.0.1",
72
+ "@commitlint/cli": "21.0.2",
73
+ "@commitlint/config-conventional": "21.0.2",
74
74
  "@eslint/js": "^10.0.1",
75
75
  "@fortawesome/fontawesome-free": "^7.2.0",
76
76
  "@storybook/addon-docs": "^10.2.17",
@@ -78,26 +78,26 @@
78
78
  "@storybook/test-runner": "^0.24.0",
79
79
  "@types/d3": "^7.4.3",
80
80
  "@types/vanillajs-datepicker": "^1.3.5",
81
- "@typescript-eslint/eslint-plugin": "8.59.4",
82
- "@typescript-eslint/parser": "8.59.4",
81
+ "@typescript-eslint/eslint-plugin": "8.60.0",
82
+ "@typescript-eslint/parser": "8.60.0",
83
83
  "@vitest/browser-playwright": "^4.0.16",
84
84
  "@vitest/coverage-v8": "^4.0.16",
85
85
  "@vitest/ui": "^4.0.16",
86
- "eslint": "10.4.0",
86
+ "eslint": "10.4.1",
87
87
  "eslint-plugin-sonarjs": "4.0.3",
88
88
  "eslint-plugin-storybook": "^10.2.17",
89
89
  "gh-pages": "6.3.0",
90
90
  "globals": "^17.3.0",
91
91
  "happy-dom": "^20.8.3",
92
92
  "husky": "9.1.7",
93
- "lint-staged": "17.0.5",
93
+ "lint-staged": "17.0.7",
94
94
  "playwright": "^1.57.0",
95
95
  "prettier": "^3.8.1",
96
96
  "semver": "7.8.1",
97
97
  "storybook": "^10.2.17",
98
98
  "tabulator-tables": "6.4.0",
99
99
  "typescript": "^6.0.2",
100
- "vite": "8.0.14",
100
+ "vite": "8.0.16",
101
101
  "vite-plugin-dts": "^5.0.0",
102
102
  "vitest": "^4.0.16"
103
103
  },
@@ -117,7 +117,7 @@
117
117
  "focus-trap": "^8.0.0",
118
118
  "timepicker-ui": "^4.1.2",
119
119
  "tippy.js": "6.3.7",
120
- "tods-competition-factory": "5.0.0",
120
+ "tods-competition-factory": "5.1.0",
121
121
  "vanillajs-datepicker": "1.3.4"
122
122
  }
123
123
  }