feat: add Fieldset and SearchField infrastructure

This commit is contained in:
maoyingjie
2026-10-22 08:46:02 +08:00
parent 116056832c
commit a4fb3c550a
59 changed files with 3131 additions and 331 deletions
+20
View File
@@ -0,0 +1,20 @@
/* Adapted from HeroUI v3 ce90ea3. Copyright 2025 NextUI Inc.
* See third-party/HEROUI-LICENSE. Modified: hv- class prefix. */
/* Base component styles */
.hv-fieldset {
@apply flex flex-col gap-6;
/* fix flexbox issue in Safari when fieldset with legend is inside a flexbox */
@apply shrink grow basis-0;
}
.hv-fieldset__legend {
@apply text-base font-medium text-foreground;
}
.hv-fieldset__field-group {
@apply w-full space-y-4;
}
.hv-fieldset__actions {
@apply flex items-center gap-2 pt-1;
}