@julseb-lib/react 1.1.26 → 1.1.27

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
@@ -560,7 +560,7 @@ declare const usePagination: ({ currentPage, setCurrentPage, totalPages, }: ILib
560
560
  */
561
561
  declare const useTextLineCount: (text: string, fontSize?: number) => {
562
562
  visualLines: number;
563
- elementRef: react.RefObject<HTMLTextAreaElement | HTMLInputElement | null>;
563
+ elementRef: react.RefObject<HTMLInputElement | HTMLTextAreaElement | null>;
564
564
  };
565
565
 
566
566
  /**
package/dist/index.d.ts CHANGED
@@ -560,7 +560,7 @@ declare const usePagination: ({ currentPage, setCurrentPage, totalPages, }: ILib
560
560
  */
561
561
  declare const useTextLineCount: (text: string, fontSize?: number) => {
562
562
  visualLines: number;
563
- elementRef: react.RefObject<HTMLTextAreaElement | HTMLInputElement | null>;
563
+ elementRef: react.RefObject<HTMLInputElement | HTMLTextAreaElement | null>;
564
564
  };
565
565
 
566
566
  /**
package/dist/index.js CHANGED
@@ -3299,6 +3299,7 @@ var InputImage = ({
3299
3299
  {
3300
3300
  onMouseEnter: () => !disabled && setIsHovered(true),
3301
3301
  onMouseLeave: () => !disabled && setIsHovered(false),
3302
+ type: "button",
3302
3303
  children: /* @__PURE__ */ jsxs20(
3303
3304
  "label",
3304
3305
  {