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
+17
View File
@@ -60,3 +60,20 @@
@import "./components/textfield.css";
@import "./components/field-error.css";
@import "./components/fieldset.css" layer(components);
@import "./components/search-field.css" layer(components);
/* Vue disabled scopes preserve native first-legend semantics. A label in the
* exempt legend must not pick up the baseline blanket ancestor opacity rule.
* Local and outer disabled labels still carry hv-label--disabled. */
@layer components {
.hv-fieldset[data-disabled="true"]
> legend
.hv-label:not(.hv-label--disabled) {
opacity: 1;
cursor: inherit;
pointer-events: auto;
}
}