feat: migrate DateField and shared date input group

This commit is contained in:
maoyingjie
2026-10-23 23:56:18 +08:00
parent 3c878d2582
commit 01f0776805
63 changed files with 3974 additions and 90 deletions
+21
View File
@@ -0,0 +1,21 @@
/* Adapted from HeroUI ce90ea3, Apache-2.0; hv- prefix. */
/* Date field styles */
.hv-date-field {
@apply flex flex-col gap-1;
&[data-invalid="true"],
&[aria-invalid="true"] {
[data-slot="description"] {
@apply hidden;
}
}
[data-slot="label"] {
@apply w-fit;
}
}
/* Full width modifier */
.hv-date-field--full-width {
@apply w-full;
}