An open source design system that's fully customizable and agent ready
TypeScript
chore: remove dead code (2026-07-15) (#3974)
Cindy Zhangf23c1c3eb601
diff --git a/packages/lab/src/Schedule/shared.tsx b/packages/lab/src/Schedule/shared.tsxindex 13ca67a914..27d8ecb111 100644--- a/packages/lab/src/Schedule/shared.tsx+++ b/packages/lab/src/Schedule/shared.tsx@@ -274,32 +274,6 @@ export function getEventCategory();}-export function eventColorStyle(color: ScheduleEventColor | undefined) {- switch (color) {- case 'cyan':- return styles.eventCyan;- case 'gray':- return styles.eventGray;- case 'green':- return styles.eventGreen;- case 'orange':- return styles.eventOrange;- case 'pink':- return styles.eventPink;- case 'purple':- return styles.eventPurple;- case 'red':- return styles.eventRed;- case 'teal':- return styles.eventTeal;- case 'yellow':- return styles.eventYellow;- case 'blue':- default:- return styles.eventBlue;- }-}-export function eventDotColorStyle(color: ScheduleEventColor | undefined) {switch (color) {case 'cyan':@@ -415,17 +389,6 @@ export function formatWeekTitle(: `${startMonth} ${start.year} - ${endMonth} ${end.year}`;}-export function formatRangeTitle(- start: PlainDate,- end: PlainDate,- timezoneID: string,-): string {- return `${formatShortDate(start, timezoneID)} - ${formatShortDate(- end,- timezoneID,- )}`;-}-export function formatFullDate(date: PlainDate, timezoneID: string): string {return formatWithPlainDate(date, timezoneID, {weekday: 'long',@@ -435,13 +398,6 @@ export function formatFullDate(date: PlainDate, timezoneID: string): string {});}-export function formatShortDate(date: PlainDate, timezoneID: string): string {- return formatWithPlainDate(date, timezoneID, {- month: 'short',- day: 'numeric',- });-}-export function formatWeekday(date: PlainDate,timezoneID: string,