feat: migrate public DatePicker with shared field and calendar owners

This commit is contained in:
maoyingjie
2026-10-26 22:01:27 +08:00
parent 166a075390
commit 9a69f92233
37 changed files with 3568 additions and 378 deletions
+9
View File
@@ -1460,6 +1460,15 @@ export const dateFieldVariants = tv({
variants: { fullWidth: { true: "hv-date-field--full-width", false: "" } },
});
export type DateFieldVariants = VariantProps<typeof dateFieldVariants>;
export const datePickerVariants = tv({
slots: {
base: "hv-date-picker",
popover: "hv-date-picker__popover",
trigger: "hv-date-picker__trigger",
triggerIndicator: "hv-date-picker__trigger-indicator",
},
});
export type DatePickerVariants = VariantProps<typeof datePickerVariants>;
export const dateInputGroupVariants = tv({
slots: {
base: "hv-date-input-group",