@propriety/court-calendar 1.0.9 → 1.0.11

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.
@@ -1,6 +1,8 @@
1
1
  import { Case, CourtDate } from '../../../types';
2
- export default function DateDetails({ selectedCourtDate, cases, isVillage, }: {
2
+ export default function DateDetails({ selectedCourtDate, cases, isVillage, onUpdateChair, onUpdateAdjournment, }: {
3
3
  selectedCourtDate: CourtDate | null;
4
4
  cases: Case[];
5
5
  isVillage: boolean;
6
+ onUpdateChair?: (position: 'first' | 'second', userId: number | null) => void;
7
+ onUpdateAdjournment?: (data: Partial<CourtDate>) => void;
6
8
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,9 @@
1
1
  type ChairPosition = 'first' | 'second';
2
- export default function FirstSecondChairIcons({ user1ID, user2ID, onUpdateChair, }: {
2
+ export default function FirstSecondChairIcons({ user1ID, user2ID, onUpdateChair, size, spacing, }: {
3
3
  user1ID: number | null;
4
4
  user2ID: number | null;
5
5
  onUpdateChair?: (position: ChairPosition, userId: number | null) => void;
6
+ size?: number;
7
+ spacing?: number;
6
8
  }): import("react/jsx-runtime").JSX.Element;
7
9
  export {};