@schedule-x/calendar
Advanced tools
Comparing version 0.1.0-alpha.13 to 0.1.0-alpha.14
@@ -207,5 +207,11 @@ import { Signal } from "@preact/signals"; | ||
}; | ||
// Extend with field "label" when implementing calendar picker | ||
type ColorDefinition = { | ||
main: string; | ||
container: string; | ||
onContainer: string; | ||
}; | ||
type CalendarType = { | ||
color: string; | ||
colorName: string; | ||
lightColors?: ColorDefinition; | ||
darkColors?: ColorDefinition; | ||
}; | ||
@@ -247,2 +253,3 @@ type Plugins = { | ||
range: Signal<DateRange | null>; | ||
isDark: Signal<boolean>; | ||
handleDateSelection: (date: string) => void; | ||
@@ -277,2 +284,3 @@ } | ||
bootstrap(): void; | ||
setTheme(theme: "light" | "dark"): void; | ||
} | ||
@@ -279,0 +287,0 @@ declare const createCalendar: (el: HTMLElement, config: CalendarConfigExternal) => CalendarApp; |
@@ -207,5 +207,11 @@ import { Signal } from "@preact/signals"; | ||
}; | ||
// Extend with field "label" when implementing calendar picker | ||
type ColorDefinition = { | ||
main: string; | ||
container: string; | ||
onContainer: string; | ||
}; | ||
type CalendarType = { | ||
color: string; | ||
colorName: string; | ||
lightColors?: ColorDefinition; | ||
darkColors?: ColorDefinition; | ||
}; | ||
@@ -247,2 +253,3 @@ type Plugins = { | ||
range: Signal<DateRange | null>; | ||
isDark: Signal<boolean>; | ||
handleDateSelection: (date: string) => void; | ||
@@ -277,2 +284,3 @@ } | ||
bootstrap(): void; | ||
setTheme(theme: "light" | "dark"): void; | ||
} | ||
@@ -279,0 +287,0 @@ declare const createCalendar: (el: HTMLElement, config: CalendarConfigExternal) => CalendarApp; |
@@ -207,5 +207,11 @@ import { Signal } from "@preact/signals"; | ||
}; | ||
// Extend with field "label" when implementing calendar picker | ||
type ColorDefinition = { | ||
main: string; | ||
container: string; | ||
onContainer: string; | ||
}; | ||
type CalendarType = { | ||
color: string; | ||
colorName: string; | ||
lightColors?: ColorDefinition; | ||
darkColors?: ColorDefinition; | ||
}; | ||
@@ -247,2 +253,3 @@ type Plugins = { | ||
range: Signal<DateRange | null>; | ||
isDark: Signal<boolean>; | ||
handleDateSelection: (date: string) => void; | ||
@@ -277,2 +284,3 @@ } | ||
bootstrap(): void; | ||
setTheme(theme: "light" | "dark"): void; | ||
} | ||
@@ -279,0 +287,0 @@ declare const createCalendar: (el: HTMLElement, config: CalendarConfigExternal) => CalendarApp; |
{ | ||
"name": "@schedule-x/calendar", | ||
"version": "0.1.0-alpha.13", | ||
"version": "0.1.0-alpha.14", | ||
"description": "Schedule-X calendar component", | ||
@@ -32,3 +32,3 @@ "author": { | ||
}, | ||
"gitHead": "f4dc61dab8fa6c557b7c74860e4fc63fd921a94b" | ||
"gitHead": "e405a5a6c2a474bab8bf51bb39619098412024cb" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
374733
7
1
9156