` has an intrinsic default
// width for the same reason; this is ours.
"min-w-40",
className,
)}
>
{isLabelVisible || isValueShown ? (
{isLabelVisible ? (
{label}
) : (
{label}
)}
{isValueShown ? (
{valueText ?? shown}
) : null}
) : (
{label}
)}
{/* The role, the tab stop and the pointer target are all the
track. Putting them on the thumb — which is what a hand-rolled
slider usually does, because the thumb is the thing that looks
draggable — gives the widget a 16px box, so a click on the bar
does nothing and a Playwright bounding box is the handle. */}
)
}