shekel-fe-shared-lib 1.0.37 → 1.0.38

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,5 @@
1
1
  import { default as React } from 'react';
2
- import { InputProps as AntInputProps } from 'antd';
2
+ import { InputRef, InputProps as AntInputProps } from 'antd';
3
3
  import { Control } from 'react-hook-form';
4
4
  export interface CurrencyInputProps extends Omit<AntInputProps, 'onChange'> {
5
5
  label?: string;
@@ -10,4 +10,4 @@ export interface CurrencyInputProps extends Omit<AntInputProps, 'onChange'> {
10
10
  onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
11
11
  control?: Control<any>;
12
12
  }
13
- export declare const CurrencyInput: React.ForwardRefExoticComponent<Omit<CurrencyInputProps, "ref"> & React.RefAttributes<InputRef>>;
13
+ export declare const CurrencyInput: React.ForwardRefExoticComponent<CurrencyInputProps & React.RefAttributes<InputRef>>;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { InputProps as AntInputProps } from 'antd';
2
+ import { InputProps as AntInputProps, InputRef } from 'antd';
3
3
  import { Control } from 'react-hook-form';
4
4
  export interface InputProps extends AntInputProps {
5
5
  label?: string;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { InputProps as AntInputProps } from 'antd';
2
+ import { InputProps as AntInputProps, InputRef } from 'antd';
3
3
  import { Control } from 'react-hook-form';
4
4
  export interface PasswordInputProps extends Omit<AntInputProps, 'suffix'> {
5
5
  label?: string;
@@ -8,4 +8,4 @@ export interface PasswordInputProps extends Omit<AntInputProps, 'suffix'> {
8
8
  placeholder?: string;
9
9
  control?: Control<any>;
10
10
  }
11
- export declare const PasswordInput: React.ForwardRefExoticComponent<Omit<PasswordInputProps, "ref"> & React.RefAttributes<InputRef>>;
11
+ export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<InputRef>>;
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { InputProps as AntInputProps } from 'antd';
2
+ import { InputRef, InputProps as AntInputProps } from 'antd';
3
3
  import { Control } from 'react-hook-form';
4
4
  export interface PhoneInputProps extends Omit<AntInputProps, 'addonBefore' | 'value' | 'onChange'> {
5
5
  label?: string;
@@ -18,4 +18,4 @@ export interface PhoneInputProps extends Omit<AntInputProps, 'addonBefore' | 'va
18
18
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
19
19
  control?: Control<any>;
20
20
  }
21
- export declare const PhoneInput: React.ForwardRefExoticComponent<Omit<PhoneInputProps, "ref"> & React.RefAttributes<InputRef>>;
21
+ export declare const PhoneInput: React.ForwardRefExoticComponent<PhoneInputProps & React.RefAttributes<InputRef>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shekel-fe-shared-lib",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "Shared component library built with React and Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -32,33 +32,38 @@
32
32
  "author": "Shekel",
33
33
  "license": "ISC",
34
34
  "devDependencies": {
35
- "@types/node": "^24.10.1",
36
- "@types/react": "^18.0.0",
37
- "@types/react-dom": "^18.0.0",
35
+ "@ant-design/icons": "^5.5.2",
36
+ "@types/node": "^20.0.0",
37
+ "@types/react": "^18.3.1",
38
+ "@types/react-dom": "^18.3.0",
38
39
  "@vitejs/plugin-react": "^4.7.0",
39
- "autoprefixer": "^10.4.22",
40
- "postcss": "^8.5.6",
41
- "react-hook-form": "^7.72.1",
40
+ "antd": "^5.22.5",
41
+ "autoprefixer": "^10.4.7",
42
+ "postcss": "8.4.14",
43
+ "react": "18.2.0",
44
+ "react-dom": "18.2.0",
45
+ "react-hook-form": "^7.71.1",
42
46
  "tailwindcss": "^3.4.17",
43
- "typescript": "^5.9.3",
47
+ "typescript": "5.3.3",
44
48
  "vite": "^6.4.1",
45
49
  "vite-plugin-dts": "^4.5.4"
46
50
  },
47
51
  "peerDependencies": {
48
- "antd": ">=5.0.0",
49
- "react": ">=18.0.0",
50
- "react-dom": ">=18.0.0",
51
- "react-hook-form": ">=7.0.0"
52
+ "@ant-design/icons": "^5.0.0",
53
+ "antd": "^5.0.0",
54
+ "react": "^18.0.0",
55
+ "react-dom": "^18.0.0",
56
+ "react-hook-form": "^7.0.0"
52
57
  },
53
58
  "peerDependenciesMeta": {
59
+ "@ant-design/icons": {
60
+ "optional": true
61
+ },
54
62
  "antd": {
55
63
  "optional": true
56
64
  },
57
65
  "react-hook-form": {
58
66
  "optional": true
59
67
  }
60
- },
61
- "dependencies": {
62
- "shekel-fe-shared-lib": "^1.0.34"
63
68
  }
64
69
  }