@jonapin006/tiger 1.0.10 → 1.0.11

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.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import { default as default_2 } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { InputHTMLAttributes } from 'react';
4
+ import { RefAttributes } from 'react';
2
5
 
3
6
  export declare interface BaseComponentProps {
4
7
  children?: default_2.ReactNode;
@@ -564,15 +567,10 @@ declare interface TigerGlassContainerProps extends BaseComponentProps, default_2
564
567
 
565
568
  export declare const TigerIconButton: default_2.FC<IconButtonProps>;
566
569
 
567
- export declare const TigerInput: default_2.FC<TigerInputProps>;
570
+ export declare const TigerInput: ForwardRefExoticComponent<TigerInputProps & RefAttributes<HTMLInputElement>>;
568
571
 
569
- declare interface TigerInputProps extends Omit<BaseComponentProps, 'children'> {
572
+ export declare interface TigerInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'className' | 'style'>, BaseComponentProps {
570
573
  size?: Exclude<ComponentSize, ComponentSize.Xsmall>;
571
- type?: string;
572
- placeholder?: string;
573
- disabled?: boolean;
574
- value?: string | number | readonly string[];
575
- onChange?: (e: default_2.ChangeEvent<HTMLInputElement>) => void;
576
574
  }
577
575
 
578
576
  export declare const TigerList: default_2.FC<TigerListProps>;