@julseb-lib/react 1.0.55 → 1.0.56
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.cts
CHANGED
|
@@ -556,7 +556,7 @@ declare const usePagination: ({ currentPage, setCurrentPage, totalPages, }: ILib
|
|
|
556
556
|
*/
|
|
557
557
|
declare const useTextLineCount: (text: string, fontSize?: number) => {
|
|
558
558
|
visualLines: number;
|
|
559
|
-
elementRef: react.RefObject<
|
|
559
|
+
elementRef: react.RefObject<HTMLTextAreaElement | HTMLInputElement | null>;
|
|
560
560
|
};
|
|
561
561
|
|
|
562
562
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -556,7 +556,7 @@ declare const usePagination: ({ currentPage, setCurrentPage, totalPages, }: ILib
|
|
|
556
556
|
*/
|
|
557
557
|
declare const useTextLineCount: (text: string, fontSize?: number) => {
|
|
558
558
|
visualLines: number;
|
|
559
|
-
elementRef: react.RefObject<
|
|
559
|
+
elementRef: react.RefObject<HTMLTextAreaElement | HTMLInputElement | null>;
|
|
560
560
|
};
|
|
561
561
|
|
|
562
562
|
/**
|
|
@@ -356,7 +356,7 @@ type ILibSelectInput = Omit<SelectHTMLAttributes<HTMLSelectElement>, "prefix"> &
|
|
|
356
356
|
iconSelect?: ReactElement$2;
|
|
357
357
|
children?: ReactChildren;
|
|
358
358
|
};
|
|
359
|
-
type ILibTextareaInput = TextareaHTMLAttributes<HTMLTextAreaElement> & Omit<
|
|
359
|
+
type ILibTextareaInput = TextareaHTMLAttributes<HTMLTextAreaElement> & Omit<ILibInputExtended, "inputVariant"> & ILibInputWithValidation & {
|
|
360
360
|
ref?: Ref<HTMLTextAreaElement>;
|
|
361
361
|
type: "textarea";
|
|
362
362
|
};
|
|
@@ -356,7 +356,7 @@ type ILibSelectInput = Omit<SelectHTMLAttributes<HTMLSelectElement>, "prefix"> &
|
|
|
356
356
|
iconSelect?: ReactElement$2;
|
|
357
357
|
children?: ReactChildren;
|
|
358
358
|
};
|
|
359
|
-
type ILibTextareaInput = TextareaHTMLAttributes<HTMLTextAreaElement> & Omit<
|
|
359
|
+
type ILibTextareaInput = TextareaHTMLAttributes<HTMLTextAreaElement> & Omit<ILibInputExtended, "inputVariant"> & ILibInputWithValidation & {
|
|
360
360
|
ref?: Ref<HTMLTextAreaElement>;
|
|
361
361
|
type: "textarea";
|
|
362
362
|
};
|