@schedule-x/calendar
Advanced tools
Comparing version 1.33.0 to 1.34.0
@@ -250,2 +250,3 @@ import { Signal } from "@preact/signals"; | ||
onClickDateTime?: (dateTime: string) => void; | ||
onClickPlusEvents?: (date: string) => void; | ||
} | ||
@@ -282,2 +283,5 @@ type CustomComponentFns = { | ||
}; | ||
type MonthGridOptions = { | ||
nEventsPerDay: number; | ||
}; | ||
type ColorDefinition = { | ||
@@ -307,2 +311,3 @@ main: string; | ||
weekOptions: WeekOptions; | ||
monthGridOptions: MonthGridOptions; | ||
calendars: Signal<Record<string, CalendarType>>; | ||
@@ -321,3 +326,3 @@ plugins: Plugins; | ||
} | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "events" | "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
} | ||
@@ -377,3 +382,3 @@ interface CalendarConfigExternal extends Partial<ReducedCalendarConfigInternal> { | ||
declare const setRangeForDay: (config: RangeSetterConfig) => DateRange; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn }; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn, CalendarEventExternal as CalendarEvent }; | ||
export { createCalendar, viewWeek, viewMonthGrid, viewDay, viewMonthAgenda, CalendarApp, createPreactView, setRangeForDay, setRangeForWeek, setRangeForMonth }; |
@@ -250,2 +250,3 @@ import { Signal } from "@preact/signals"; | ||
onClickDateTime?: (dateTime: string) => void; | ||
onClickPlusEvents?: (date: string) => void; | ||
} | ||
@@ -282,2 +283,5 @@ type CustomComponentFns = { | ||
}; | ||
type MonthGridOptions = { | ||
nEventsPerDay: number; | ||
}; | ||
type ColorDefinition = { | ||
@@ -307,2 +311,3 @@ main: string; | ||
weekOptions: WeekOptions; | ||
monthGridOptions: MonthGridOptions; | ||
calendars: Signal<Record<string, CalendarType>>; | ||
@@ -321,3 +326,3 @@ plugins: Plugins; | ||
} | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "events" | "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
} | ||
@@ -377,3 +382,3 @@ interface CalendarConfigExternal extends Partial<ReducedCalendarConfigInternal> { | ||
declare const setRangeForDay: (config: RangeSetterConfig) => DateRange; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn }; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn, CalendarEventExternal as CalendarEvent }; | ||
export { createCalendar, viewWeek, viewMonthGrid, viewDay, viewMonthAgenda, CalendarApp, createPreactView, setRangeForDay, setRangeForWeek, setRangeForMonth }; |
@@ -250,2 +250,3 @@ import { Signal } from "@preact/signals"; | ||
onClickDateTime?: (dateTime: string) => void; | ||
onClickPlusEvents?: (date: string) => void; | ||
} | ||
@@ -282,2 +283,5 @@ type CustomComponentFns = { | ||
}; | ||
type MonthGridOptions = { | ||
nEventsPerDay: number; | ||
}; | ||
type ColorDefinition = { | ||
@@ -307,2 +311,3 @@ main: string; | ||
weekOptions: WeekOptions; | ||
monthGridOptions: MonthGridOptions; | ||
calendars: Signal<Record<string, CalendarType>>; | ||
@@ -321,3 +326,3 @@ plugins: Plugins; | ||
} | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
interface ReducedCalendarConfigInternal extends Omit<CalendarConfigInternal, "events" | "dayBoundaries" | "isHybridDay" | "plugins" | "views" | "_customComponentFns" | "calendars"> { | ||
} | ||
@@ -377,3 +382,3 @@ interface CalendarConfigExternal extends Partial<ReducedCalendarConfigInternal> { | ||
declare const setRangeForDay: (config: RangeSetterConfig) => DateRange; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn }; | ||
export type { CalendarConfigExternal as CalendarConfig, CustomComponentFn, CalendarEventExternal as CalendarEvent }; | ||
export { createCalendar, viewWeek, viewMonthGrid, viewDay, viewMonthAgenda, CalendarApp, createPreactView, setRangeForDay, setRangeForWeek, setRangeForMonth }; |
{ | ||
"name": "@schedule-x/calendar", | ||
"version": "1.33.0", | ||
"version": "1.34.0", | ||
"description": "Schedule-X calendar component", | ||
@@ -40,3 +40,3 @@ "author": { | ||
"homepage": "https://schedule-x.dev", | ||
"gitHead": "9e5cf87bf4dce3d093ab34fbe9a351057c7a3255" | ||
"gitHead": "3c7b1e48da5011fc6101d2f72b052a9fadf4e6e3" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
680989
16131