feat: migrate public DateRangePicker with shared range field and calendar owners
This commit is contained in:
@@ -1469,6 +1469,19 @@ export const datePickerVariants = tv({
|
||||
},
|
||||
});
|
||||
export type DatePickerVariants = VariantProps<typeof datePickerVariants>;
|
||||
// Ported from HeroUI ce90ea3, Apache-2.0; hv namespace only.
|
||||
export const dateRangePickerVariants = tv({
|
||||
slots: {
|
||||
base: "hv-date-range-picker",
|
||||
popover: "hv-date-range-picker__popover",
|
||||
rangeSeparator: "hv-date-range-picker__range-separator",
|
||||
trigger: "hv-date-range-picker__trigger",
|
||||
triggerIndicator: "hv-date-range-picker__trigger-indicator",
|
||||
},
|
||||
});
|
||||
export type DateRangePickerVariants = VariantProps<
|
||||
typeof dateRangePickerVariants
|
||||
>;
|
||||
export const dateInputGroupVariants = tv({
|
||||
slots: {
|
||||
base: "hv-date-input-group",
|
||||
|
||||
Reference in New Issue
Block a user