@julseb-lib/react 1.0.60 → 1.0.61

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<HTMLTextAreaElement | HTMLInputElement | null>;
559
+ elementRef: react.RefObject<HTMLInputElement | HTMLTextAreaElement | 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<HTMLTextAreaElement | HTMLInputElement | null>;
559
+ elementRef: react.RefObject<HTMLInputElement | HTMLTextAreaElement | null>;
560
560
  };
561
561
 
562
562
  /**
@@ -524,7 +524,7 @@ type ILibInputPin = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<ILi
524
524
  };
525
525
 
526
526
  type ILibFieldset = Omit<LibComponentBase<HTMLFieldSetElement>, "element"> & Omit<ILibInputCommon, "inputBackground" | "inputVariant" | "label" | "labelComment" | "helper"> & ILibInputWithValidation & {
527
- legend: string;
527
+ legend: ReactChildren;
528
528
  borderRadius?: LibRadiuses;
529
529
  };
530
530
 
@@ -524,7 +524,7 @@ type ILibInputPin = Omit<LibComponentBase<HTMLDivElement>, "element"> & Omit<ILi
524
524
  };
525
525
 
526
526
  type ILibFieldset = Omit<LibComponentBase<HTMLFieldSetElement>, "element"> & Omit<ILibInputCommon, "inputBackground" | "inputVariant" | "label" | "labelComment" | "helper"> & ILibInputWithValidation & {
527
- legend: string;
527
+ legend: ReactChildren;
528
528
  borderRadius?: LibRadiuses;
529
529
  };
530
530
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julseb-lib/react",
3
- "version": "1.0.60",
3
+ "version": "1.0.61",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "files": [