import { HelpCircleIcon } from 'lucide-react' import { FOUNDATION_THEME } from '../../../../tokens' import Block from '../../../Primitives/Block/Block' import Text from '../../../Text/Text' import { Tooltip, TooltipSize } from '../../../Tooltip' type InputLabelTokens = { label?: { fontWeight?: number | string fontSize?: number | string color?: { default?: string; disabled?: string } } subLabel?: { fontWeight?: number | string fontSize?: number | string color?: { default?: string; disabled?: string } } required?: { color?: string } helpIcon?: { width?: number | string color?: { default?: string; disabled?: string } } } type InputLabelsProps = { label?: string sublabel?: string helpIconHintText?: string name?: string inputId?: string // Unique ID for input association required?: boolean tokens?: Partial labelId?: string } const InputLabels = ({ label, sublabel, helpIconHintText, name, inputId, required, tokens, labelId, }: InputLabelsProps) => { return ( label && ( {label} {required && ( )} {sublabel && ( ({sublabel}) )} {helpIconHintText && ( )} ) ) } export default InputLabels