fix: restore old select selectors for label to still support the temp design select

deprecated the temp design select in favor of the new one
This commit is contained in:
Christian Andolf
2025-06-12 12:05:13 +02:00
parent 7ee711bb43
commit 73884aa428
12 changed files with 34 additions and 37 deletions

View File

@@ -82,3 +82,17 @@ textarea:disabled {
margin-bottom: var(--Space-x05);
}
}
/* Legacy selector for deprecated select component */
:global(.select-container)[data-disabled] .label {
color: var(--Text-Interactive-Disabled);
}
:global(.select-button) .label {
order: unset;
}
:global(.select-container)[data-open='true'] .label:not(.discreet),
:global(.react-aria-SelectValue):has(:nth-child(2)) .label:not(.discreet) {
font-size: 12px;
}