shekel-fe-shared-lib 1.0.35 → 1.0.37

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.
@@ -5,6 +5,7 @@ export interface InputProps extends AntInputProps {
5
5
  label?: string;
6
6
  error?: string;
7
7
  helperText?: string;
8
+ placeholder?: string;
8
9
  control?: Control<any>;
9
10
  }
10
11
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
@@ -1,10 +1,11 @@
1
1
  import { default as React } from 'react';
2
- import { PasswordProps as AntPasswordProps } from 'antd/es/input';
2
+ import { InputProps as AntInputProps } from 'antd';
3
3
  import { Control } from 'react-hook-form';
4
- export interface PasswordInputProps extends AntPasswordProps {
4
+ export interface PasswordInputProps extends Omit<AntInputProps, 'suffix'> {
5
5
  label?: string;
6
6
  error?: string;
7
7
  helperText?: string;
8
+ placeholder?: string;
8
9
  control?: Control<any>;
9
10
  }
10
- export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<InputRef>>;
11
+ export declare const PasswordInput: React.ForwardRefExoticComponent<Omit<PasswordInputProps, "ref"> & React.RefAttributes<InputRef>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shekel-fe-shared-lib",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Shared component library built with React and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",