@propriety/court-calendar 1.0.91 → 1.0.93

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/index.mjs CHANGED
@@ -9432,7 +9432,7 @@ const Yo = {
9432
9432
  inperson: "#1da39c",
9433
9433
  virtual: "#216edf",
9434
9434
  unknown: "#9e9e9e",
9435
- negotiations: "#33d391"
9435
+ negotiations: "#d4a017"
9436
9436
  }, zd = {
9437
9437
  gradient: "linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%)",
9438
9438
  glowPurple: "rgba(139, 92, 246, 0.35)"
@@ -19777,7 +19777,7 @@ function Jy({
19777
19777
  continue;
19778
19778
  const $ = E.hearingType.toString().toLowerCase() || "unknown", ee = E.dateType ? E.dateType.toString().toLowerCase() : null;
19779
19779
  let de, re;
19780
- E.isAdjourned ? (de = "adjournment-event", re = `${u(E.muniCode)} (A) (${E.muniCode}) x${C} (${k})`) : E.isExtraDay ? (de = "multipledate-event", re = `${u(E.muniCode)} (${E.muniCode}) (day ${(E.extraDayIndex ?? 0) + 2})`) : (de = "courtdate-event", re = `${u(E.muniCode)} (${E.muniCode}) x${C} (${k})${E.isMultiDay ? " (day 1)" : ""}`);
19780
+ E.isAdjourned ? (de = "adjournment-event", re = `${u(E.muniCode)} (A) (${E.muniCode}) x${ze}`) : E.isExtraDay ? (de = "multipledate-event", re = `${u(E.muniCode)} (${E.muniCode}) (day ${(E.extraDayIndex ?? 0) + 2})`) : (de = "courtdate-event", re = `${u(E.muniCode)} (${E.muniCode}) x${ze}${E.isMultiDay ? " (day 1)" : ""}`);
19781
19781
  const je = [
19782
19782
  de,
19783
19783
  $,
@@ -20042,8 +20042,7 @@ function Iy({
20042
20042
  const Gy = [
20043
20043
  { label: "In Person", color: "#1da39c" },
20044
20044
  { label: "Virtual", color: "#216edf" },
20045
- { label: "Unknown", color: "#9e9e9e" },
20046
- { label: "Negotiations", color: "#33d391" },
20045
+ { label: "Negotiations", color: "#d4a017" },
20047
20046
  { label: "Adjourned (No Date)", color: "rgb(151, 11, 134)" },
20048
20047
  { label: "Village Date", borderColor: "#f59e0b" },
20049
20048
  { label: "Overdue Upload", borderColor: "#b71c1c" }
@@ -14,7 +14,7 @@ export declare const EVENT_COLORS: {
14
14
  readonly inperson: "#1da39c";
15
15
  readonly virtual: "#216edf";
16
16
  readonly unknown: "#9e9e9e";
17
- readonly negotiations: "#33d391";
17
+ readonly negotiations: "#d4a017";
18
18
  };
19
19
  export declare const BRAND: {
20
20
  readonly gradient: "linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%)";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@propriety/court-calendar",
3
3
  "private": false,
4
- "version": "1.0.91",
4
+ "version": "1.0.93",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -1,8 +1,7 @@
1
1
  const LEGEND_ITEMS: { label: string; color?: string; borderColor?: string }[] = [
2
2
  { label: 'In Person', color: '#1da39c' },
3
3
  { label: 'Virtual', color: '#216edf' },
4
- { label: 'Unknown', color: '#9e9e9e' },
5
- { label: 'Negotiations', color: '#33d391' },
4
+ { label: 'Negotiations', color: '#d4a017' },
6
5
  { label: 'Adjourned (No Date)', color: 'rgb(151, 11, 134)' },
7
6
  { label: 'Village Date', borderColor: '#f59e0b' },
8
7
  { label: 'Overdue Upload', borderColor: '#b71c1c' },
@@ -255,13 +255,13 @@ export function useCalendarEvents({
255
255
  let title: string;
256
256
  if (calEvent.isAdjourned) {
257
257
  baseClass = "adjournment-event";
258
- title = `${getTownshipName(calEvent.muniCode)} (A) (${calEvent.muniCode}) x${filtered} (${total})`;
258
+ title = `${getTownshipName(calEvent.muniCode)} (A) (${calEvent.muniCode}) x${unsettled}`;
259
259
  } else if (calEvent.isExtraDay) {
260
260
  baseClass = "multipledate-event";
261
261
  title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) (day ${(calEvent.extraDayIndex ?? 0) + 2})`;
262
262
  } else {
263
263
  baseClass = "courtdate-event";
264
- title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) x${filtered} (${total})${calEvent.isMultiDay ? " (day 1)" : ""}`;
264
+ title = `${getTownshipName(calEvent.muniCode)} (${calEvent.muniCode}) x${unsettled}${calEvent.isMultiDay ? " (day 1)" : ""}`;
265
265
  }
266
266
 
267
267
  const classNames = [
@@ -16,7 +16,7 @@ export const EVENT_COLORS = {
16
16
  inperson: '#1da39c',
17
17
  virtual: '#216edf',
18
18
  unknown: '#9e9e9e',
19
- negotiations: '#33d391',
19
+ negotiations: '#d4a017',
20
20
  } as const;
21
21
 
22
22
  export const BRAND = {