beth-clarity 1.1.29 → 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,9 +1,13 @@
1
1
  import { default as React } from 'react';
2
2
  type SystemVariant = 'primary' | 'secondary';
3
- type ProductVariant = 'elisa-primary' | 'elisa-secondary' | 'dora-primary' | 'dora-secondary' | 'hub-primary' | 'hub-secondary' | 'selena-primary' | 'selena-secondary' | 'duda-primary' | 'duda-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
+ }
4
8
  export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
5
9
  /** Variante de cor */
6
- variant?: SystemVariant | ProductVariant;
10
+ variant?: SystemVariant;
7
11
  /** Tamanho do input */
8
12
  size?: 'small' | 'medium' | 'large';
9
13
  /** Label do input */
@@ -18,7 +22,11 @@ export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElem
18
22
  startIcon?: React.ReactNode;
19
23
  /** Ícone no final */
20
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;
21
29
  }
22
30
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
23
- export {};
24
- //# sourceMappingURL=Input.d.ts.map
31
+ export { };
32
+ //# sourceMappingURL=Input.d.ts.map