feat: migrate public DateRangePicker with shared range field and calendar owners
This commit is contained in:
@@ -49,4 +49,14 @@ export const dateSegmentBaseKey: InjectionKey<{
|
||||
>;
|
||||
input: Component;
|
||||
kind: "date" | "time";
|
||||
/** Range endpoints reuse the same segment parts with an explicit start/end field. */
|
||||
endpoint?: "start" | "end";
|
||||
}> = Symbol("hv-date-segment-base");
|
||||
|
||||
/** Marker provided by the DateRangePicker private field body. Only inputs with
|
||||
* an explicit endpoint consume it; nested TimeFields keep their own segment base. */
|
||||
export const dateRangeFieldKey: InjectionKey<{
|
||||
root: NonNullable<
|
||||
ReturnType<typeof import("reka-ui").injectDateRangeFieldRootContext>
|
||||
>;
|
||||
}> = Symbol("hv-date-range-field");
|
||||
|
||||
Reference in New Issue
Block a user