around DropdownInternal (lines 207-213) has classes:
className={classnames({
hidden: !isOpen,
'oxygen-input-keyboard-user': isKeyboardUser,
})}
CSS for visible/hidden and keyboard-user styling comes from Tailwind's hidden utility and custom oxygen-input-keyboard-user class (defined in _Options.scss).
---
4. Gray "X" Clear Button Root Cause
File: /Users/USER/workspace/doctolib/treatment-plan/node_modules/@doctolib/design-system/src/dataEntry/ComboBox/_RawComboBox.tsx (lines 264-284)
The clear button is rendered using IconButton:
Key styling properties:
- uiStyle='neutral' + variant='transparent' = neutral transparent button
- The icon is regular/xmark-large (the X icon)
From Button.module.scss (lines 591-613):
The transparent + neutral button applies:
.variant-transparent.uiStyle-neutral {
&:not(:disabled, .isLoading) {
&:not(:hover, :active) .innerWrapper {
color: var(--oxygen-color-actions-button-vision--transparent-neutral-icon-default);
}
&:hover .innerWrapper {
color: var(--oxygen-color-actions-button-vision--transparent-neutral-icon-hover);
}
&:active .innerWrapper {
color: var(--oxygen-color-actions-button-vision--transparent-neutral-icon-pressed);
}
}
&:disabled:not(.isLoading) .innerWrapper {
color: var(--oxygen-color-actions-button-vision--transparent-neutral-icon-disabled);
}
&.isLoading .innerWrapper {
color: var(--oxygen-color-actions-button-vision--transparent-neutral-spinnerloader);
}
}
The "grayness" comes from the CSS custom property --oxygen-color-actions-button-vision--transparent-neutral-icon-default. This is a design
No inline opacity or background-color is applied — it's purely controlled by the CSS variable, which resolves to a gray color (likely from the design system's color palette).
Additionally, the .innerWrapper on a transparent button has:
.variant-transparent .innerWrapper {
background: transparent;
border-color: transparent;
border-width: 0;
border-style: none;
padding-inline: 0;
padding-block: 0;
}
So there is no background color at all — the button is truly transparent, and only the icon text color (via the CSS variable) makes it appear gray.
---
Summary Table
| Component | Prop/Feature | Finding |
|-----------|--------------|---------|
| InputText | Right-element / suffix slots | Not supported; no props for custom right icons |
| BetaComboBox | Dropdown container classes | dl-new-dropdown, dl-flex-column, styles.list, optionally styles.hasMaxHeight |
| BetaComboBox | Dropdown semantic | (htmlSemantic='list') |
| Select | Dropdown container classes | Same as BetaComboBox (via shared DropdownInternal) |
| Select | Dropdown semantic | (htmlSemantic='none') |
| Clear "X" Button | Icon styling | uiStyle='neutral' + variant='transparent' = gray color from CSS variable --oxygen-color-actions-button-vision--transparent-neutral-icon-default |
| Clear "X" Button | Background | None (transparent); color is text-only via CSS custom property |