@schedule-x/date-picker
Advanced tools
Comparing version 1.54.0 to 1.55.0
@@ -24,24 +24,2 @@ import { Signal } from "@preact/signals"; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
type WeekWithDates = Date[]; | ||
@@ -102,2 +80,25 @@ type MonthWithDates = Date[][]; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
onEscapeKeyDown?: ($app: DatePickerAppSingleton) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
declare class DatePickerApp { | ||
@@ -104,0 +105,0 @@ private $app; |
@@ -24,24 +24,2 @@ import { Signal } from "@preact/signals"; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
type WeekWithDates = Date[]; | ||
@@ -102,2 +80,25 @@ type MonthWithDates = Date[][]; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
onEscapeKeyDown?: ($app: DatePickerAppSingleton) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
declare class DatePickerApp { | ||
@@ -104,0 +105,0 @@ private $app; |
@@ -24,24 +24,2 @@ import { Signal } from "@preact/signals"; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
type WeekWithDates = Date[]; | ||
@@ -102,2 +80,25 @@ type MonthWithDates = Date[][]; | ||
} | ||
type DatePickerListeners = { | ||
onChange?: (date: string) => void; | ||
onEscapeKeyDown?: ($app: DatePickerAppSingleton) => void; | ||
}; | ||
type DatePickerStyle = { | ||
dark?: boolean; | ||
fullWidth?: boolean; | ||
}; | ||
interface DatePickerConfigInternal extends Config { | ||
min: string; | ||
max: string; | ||
placement: Placement; | ||
listeners: DatePickerListeners; | ||
style: DatePickerStyle; | ||
teleportTo?: HTMLElement; | ||
label?: string; | ||
name?: string; | ||
disabled?: boolean; | ||
} | ||
interface DatePickerConfigExternal extends Partial<Omit<DatePickerConfigInternal, "placement">> { | ||
selectedDate?: string; | ||
placement?: Placement | string; | ||
} | ||
declare class DatePickerApp { | ||
@@ -104,0 +105,0 @@ private $app; |
{ | ||
"name": "@schedule-x/date-picker", | ||
"version": "1.54.0", | ||
"version": "1.55.0", | ||
"description": "Schedule-X date picker component", | ||
@@ -34,3 +34,3 @@ "author": { | ||
"homepage": "https://schedule-x.dev", | ||
"gitHead": "e107e76362346f2d961b429936f7ee55b25695e7" | ||
"gitHead": "f13cd788284d2fca3e4841e88baf5495bf661ef1" | ||
} |
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
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
209820
5476