beth-clarity 1.1.30 → 1.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,10 @@
1
1
  import { default as React } from 'react';
2
2
  type SystemVariant = 'primary' | 'secondary';
3
+ type HelperPosition = 'top-right' | 'middle-right' | 'bottom-right' | 'top-left' | 'middle-left' | 'bottom-left';
4
+ interface HelperConfig {
5
+ content: React.ReactNode;
6
+ plain?: boolean;
7
+ }
3
8
  export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
4
9
  /** Variante de cor */
5
10
  variant?: SystemVariant;
@@ -17,6 +22,10 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
17
22
  startIcon?: React.ReactNode;
18
23
  /** Ícone no final */
19
24
  endIcon?: React.ReactNode;
25
+ /** Ícone de ajuda; ao clicar, exibe tooltip com conteúdo livre */
26
+ helper?: boolean | HelperConfig;
27
+ /** Posição do ícone de ajuda */
28
+ helperPosition?: HelperPosition;
20
29
  }
21
30
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
22
31
  export { };