feat: add Fieldset and SearchField infrastructure
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user