{"version":3,"file":"TextFieldSearch.types.mjs","sourceRoot":"","sources":["../../../src/components/TextFieldSearch/TextFieldSearch.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ButtonIconProps } from '../ButtonIcon';\nimport type { TextFieldProps } from '../TextField';\n\nexport type TextFieldSearchProps = Omit<TextFieldProps, 'type'> & {\n  /**\n   * Accessible name for the inner search input. Required. It renders no text.\n   * It takes precedence over `inputProps['aria-label']`.\n   */\n  inputAriaLabel: string;\n  /**\n   * Click handler for the clear button. Use it to reset the controlled `value`.\n   * Required: the clear button always renders when `value` is truthy.\n   */\n  clearButtonOnClick: React.MouseEventHandler<HTMLButtonElement>;\n  /**\n   * Additional props forwarded to the clear `ButtonIcon`. `ariaLabel` is\n   * defaulted to `'Clear'` and can be overridden here to provide a localized\n   * label.\n   */\n  clearButtonProps?: Partial<ButtonIconProps>;\n};\n"]}