@julseb-lib/react 1.1.14 → 1.1.15

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<HTMLInputElement | HTMLTextAreaElement | null>;
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<HTMLInputElement | HTMLTextAreaElement | null>;
559
+ elementRef: react.RefObject<HTMLTextAreaElement | HTMLInputElement | null>;
560
560
  };
561
561
 
562
562
  /**
package/dist/index.js CHANGED
@@ -67739,7 +67739,6 @@ var Header = ({
67739
67739
  textColor = "white",
67740
67740
  linksColor = "white",
67741
67741
  headerOpenMobileBackground = "primary",
67742
- noNav,
67743
67742
  ...rest
67744
67743
  }) => {
67745
67744
  const Element = element;
@@ -67843,11 +67842,10 @@ var Header = ({
67843
67842
  children: logo
67844
67843
  }
67845
67844
  ) : logo,
67846
- navDesktopPosition === "left" && !noNav && /* @__PURE__ */ jsx350("nav", { ...navProps }),
67847
- navDesktopPosition === "left" && noNav && children,
67845
+ navDesktopPosition === "left" && /* @__PURE__ */ jsx350("nav", { ...navProps }),
67848
67846
  !isMobile && navDesktopPosition === "right" && /* @__PURE__ */ jsx350(HeaderSearch, { ...searchProps }),
67849
67847
  burgerPosition === "right" && /* @__PURE__ */ jsx350(Burger, { ...burgerProps }),
67850
- isMobile && navMobileVariant === "drawer" && !noNav && /* @__PURE__ */ jsx350(
67848
+ isMobile && navMobileVariant === "drawer" && /* @__PURE__ */ jsx350(
67851
67849
  "div",
67852
67850
  {
67853
67851
  className: clsx(
@@ -67859,8 +67857,7 @@ var Header = ({
67859
67857
  onClick: handleClose
67860
67858
  }
67861
67859
  ),
67862
- navDesktopPosition === "right" && !noNav && /* @__PURE__ */ jsx350("nav", { ...navProps }),
67863
- navDesktopPosition === "right" && noNav && children,
67860
+ navDesktopPosition === "right" && /* @__PURE__ */ jsx350("nav", { ...navProps }),
67864
67861
  !isMobile && navDesktopPosition === "left" && /* @__PURE__ */ jsx350(HeaderSearch, { ...searchProps })
67865
67862
  ]
67866
67863
  }