fix(pickers): repair data-slot selectors and align demos with the baseline

The CSS port prefixed data-slot attribute values with hv-, so the compiled
selectors never matched the DOM and the ComboBox trigger chevron never
rotated. Only class names get the prefix; slot values stay byte-identical.

Also commit typed text as the value when allowsCustomValue finds no record,
restore the baseline search-field shell in all 24 Autocomplete demos, and
correct both doc pages against the pinned upstream sources.
This commit is contained in:
maoyingjie
2026-10-25 17:46:32 +08:00
parent 5e688680e9
commit 3e9be13b19
40 changed files with 634 additions and 225 deletions
+2 -2
View File
@@ -125,7 +125,7 @@
@apply rotate-180;
}
&[data-slot="hv-autocomplete-default-indicator"] {
&[data-slot="autocomplete-default-indicator"] {
@apply size-4;
}
}
@@ -265,7 +265,7 @@
@apply pointer-events-none opacity-0;
}
[data-slot="hv-autocomplete-clear-button-icon"] {
[data-slot="autocomplete-clear-button-icon"] {
@apply size-3.5;
}