@putkoff/abstract-utilities 0.1.142 → 0.1.145

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,10 +1,11 @@
1
+ import React from 'react';
1
2
  export interface InputProps {
2
- label?: any;
3
- type?: any;
3
+ label?: React.ReactNode;
4
+ type?: string;
4
5
  value?: any;
5
- onValueChange?: any;
6
- disabled?: any;
7
- placeholder?: any;
6
+ onValueChange?: (value: any) => void;
7
+ disabled?: boolean;
8
+ placeholder?: string;
8
9
  error?: string;
9
10
  }
10
11
  export interface FileInputExtra {
@@ -12,6 +13,5 @@ export interface FileInputExtra {
12
13
  multiple?: boolean;
13
14
  accept?: string;
14
15
  }
15
- /** keep other InputProps fields … */
16
16
  export type EnhancedInputProps = InputProps & FileInputExtra;
17
17
  export declare const Input: React.FC<EnhancedInputProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-utilities",
3
- "version": "0.1.142",
3
+ "version": "0.1.145",
4
4
  "type": "module",
5
5
  "description": "A reusable React Login component with JWT authentication",
6
6
  "main": "dist/cjs/index.js",