@charlesgomes/leafcode-shared-lib-react 1.0.62 → 1.0.63
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.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -102,8 +102,10 @@ interface PaginatedResponse$1 {
|
|
|
102
102
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
103
103
|
name: string;
|
|
104
104
|
label?: string;
|
|
105
|
-
|
|
105
|
+
value?: string;
|
|
106
|
+
onChange?: (value: any) => void;
|
|
106
107
|
onSelect: (item: any) => void;
|
|
108
|
+
error?: FieldError;
|
|
107
109
|
defaultValue?: any;
|
|
108
110
|
inputAutocompleteActive?: string;
|
|
109
111
|
queryKey: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -102,8 +102,10 @@ interface PaginatedResponse$1 {
|
|
|
102
102
|
interface InputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
103
103
|
name: string;
|
|
104
104
|
label?: string;
|
|
105
|
-
|
|
105
|
+
value?: string;
|
|
106
|
+
onChange?: (value: any) => void;
|
|
106
107
|
onSelect: (item: any) => void;
|
|
108
|
+
error?: FieldError;
|
|
107
109
|
defaultValue?: any;
|
|
108
110
|
inputAutocompleteActive?: string;
|
|
109
111
|
queryKey: string;
|
package/dist/index.js
CHANGED
|
@@ -713,6 +713,7 @@ var InputBase3 = ({
|
|
|
713
713
|
name,
|
|
714
714
|
label,
|
|
715
715
|
error,
|
|
716
|
+
onChange,
|
|
716
717
|
onSelect,
|
|
717
718
|
defaultValue,
|
|
718
719
|
inputAutocompleteActive,
|
|
@@ -828,6 +829,7 @@ var InputBase3 = ({
|
|
|
828
829
|
value,
|
|
829
830
|
onChange: (e) => {
|
|
830
831
|
setValue(e.target.value);
|
|
832
|
+
onChange?.(e.target.value);
|
|
831
833
|
setIsOpen(true);
|
|
832
834
|
},
|
|
833
835
|
onFocus: () => setIsOpen(true),
|
package/dist/index.mjs
CHANGED
|
@@ -664,6 +664,7 @@ var InputBase3 = ({
|
|
|
664
664
|
name,
|
|
665
665
|
label,
|
|
666
666
|
error,
|
|
667
|
+
onChange,
|
|
667
668
|
onSelect,
|
|
668
669
|
defaultValue,
|
|
669
670
|
inputAutocompleteActive,
|
|
@@ -779,6 +780,7 @@ var InputBase3 = ({
|
|
|
779
780
|
value,
|
|
780
781
|
onChange: (e) => {
|
|
781
782
|
setValue(e.target.value);
|
|
783
|
+
onChange?.(e.target.value);
|
|
782
784
|
setIsOpen(true);
|
|
783
785
|
},
|
|
784
786
|
onFocus: () => setIsOpen(true),
|